From afae4becfa06e543e666ed4c1f9e29c9b65dae67 Mon Sep 17 00:00:00 2001 From: Panda Foss Date: Tue, 4 May 2021 18:25:45 -0300 Subject: [PATCH] Do not reinstall packages in setup-archlinux.sh I have added the --needed option to pacman to prevent reinstalling packages that are already installed and updated. --- scripts/setup-archlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup-archlinux.sh b/scripts/setup-archlinux.sh index e0d0faff96..ef87a5cb8d 100755 --- a/scripts/setup-archlinux.sh +++ b/scripts/setup-archlinux.sh @@ -48,7 +48,7 @@ if [ "$(id -u)" = "0" ]; then else SUDO="sudo" fi -$SUDO pacman -Syq --noconfirm $PACKAGES +$SUDO pacman -Syq --needed --noconfirm $PACKAGES . $(dirname "$(realpath "$0")")/properties.sh $SUDO mkdir -p $TERMUX_PREFIX