chore: notes on package managers

main
CrimsonTome 2022-11-22 21:04:21 +00:00 committed by Rowan Clark
parent d57b617d2d
commit 54a002fb33
No known key found for this signature in database
GPG Key ID: F620D51904044094
1 changed files with 4 additions and 3 deletions

View File

@ -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