This commit is contained in:
simono41 2018-08-22 00:19:02 +02:00
parent e45a4a9e00
commit eef7c6056f

View file

@ -323,7 +323,7 @@ function removeinstaller {
}
function freshinstall {
if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then
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
}