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:
parent
f13d65e21a
commit
afae4becfa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user