diff --git a/arch-install b/arch-install index 03956f4..9ecef70 100755 --- a/arch-install +++ b/arch-install @@ -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 }