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.
This commit is contained in:
Panda Foss 2021-05-04 18:25:45 -03:00 committed by Leonid Pliushch
parent f13d65e21a
commit afae4becfa
1 changed files with 1 additions and 1 deletions

View File

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