fix
This commit is contained in:
parent
cd192ad9b2
commit
1b6d39f4fd
1 changed files with 3 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue