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 {
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue