From 99226eedfda9b1e474be90b2b3d1567f03784b9d Mon Sep 17 00:00:00 2001 From: CrimsonTome Date: Tue, 22 Nov 2022 19:37:11 +0000 Subject: [PATCH] fix: apt fixes? --- post-install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/post-install b/post-install index 9515bc2..f59ad66 100755 --- a/post-install +++ b/post-install @@ -30,8 +30,9 @@ ssh-keygen -t ed25519 -f $sshDir"/id_ed25519_git" -N '' # check package manager if [[ $os == "Ubuntu" ]]; then - sudo apt install -y $(cat apt-packages); - sudo snap install $(cat snap-packages); + 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