From b8bbd097890a17502af9de4c32778b56cc77ef1f Mon Sep 17 00:00:00 2001 From: Tushar maharana <54012021+tusharhero@users.noreply.github.com> Date: Wed, 9 Nov 2022 12:26:37 +0000 Subject: [PATCH] No more partial upgrades on Arch It was using the -Sy flag which is unsupported. It partially upgraded my system. To avoid this I put the -Syu flag which does a full system upgrade. --- installer/linux-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/linux-mac.sh b/installer/linux-mac.sh index 112a365..07ea9d2 100755 --- a/installer/linux-mac.sh +++ b/installer/linux-mac.sh @@ -34,7 +34,7 @@ pack_manager_install() { echo $2 "is not installed." echo "Installing" $2 if [[ "$1" == "pacman" ]]; then - sudo pacman -Sy $3 --noconfirm + sudo pacman -Syu $3 --noconfirm elif [[ "$1" =~ "apt-get" ]]; then sudo apt update sudo apt install $4 -y