This commit is contained in:
simono41 2018-08-22 00:15:40 +02:00
parent cd192ad9b2
commit 1b6d39f4fd

View file

@ -323,11 +323,9 @@ function removeinstaller {
}
function freshinstall {
arch-chroot ${mountpoint} <<EOT
cd /opt/${repo}/
git pull
pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm
EOT
if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then
arch-chroot ${mountpoint} "cd /opt/${repo}/; git pull; pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm"
fi
}
function installation {