chore: notes on package managers
parent
d57b617d2d
commit
54a002fb33
|
@ -30,15 +30,16 @@ 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
|
||||
|
|
Loading…
Reference in New Issue