chore: notes on package managers
parent
d57b617d2d
commit
54a002fb33
|
@ -30,18 +30,19 @@ ssh-keygen -t ed25519 -f $sshDir"/id_ed25519_git" -N ''
|
|||
|
||||
# check package manager
|
||||
if [[ $os == "Ubuntu" ]]; then
|
||||
echo "using apt package manager";
|
||||
sudo apt-get update && sudo apt-get upgrade;
|
||||
sudo apt install -y `cat apt-packages`;
|
||||
sudo snap install `cat snap-packages`;
|
||||
wget https://dl.discordapp.net/apps/linux/0.0.21/discord-0.0.21.deb;
|
||||
sudo apt install -f ./discord-0.0.21.deb;
|
||||
elif [[ $os == "Fedora" ]]; then
|
||||
echo "test"
|
||||
echo "dnf is not yet supported";
|
||||
else
|
||||
echo "OS not yet supported"
|
||||
echo "OS not yet supported";
|
||||
fi
|
||||
|
||||
cd $gitdir
|
||||
gh auth login
|
||||
# after logged into gh
|
||||
gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone
|
||||
gh repo list --limit 100 |awk '{print $1}' | xargs -L1 gh repo clone
|
||||
|
|
Loading…
Reference in New Issue