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 { function freshinstall {
arch-chroot ${mountpoint} <<EOT if [ "${update}" != "n" ] && [ "${offline}" == "n" ]; then
cd /opt/${repo}/ arch-chroot ${mountpoint} "cd /opt/${repo}/; git pull; pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm"
git pull fi
pacman -Syu $(cat /opt/${repo}/packages_${version}.txt) --needed --noconfirm
EOT
} }
function installation { function installation {