downloadfix

This commit is contained in:
simono41 2018-04-27 19:04:17 +00:00
parent 856320fa81
commit 7046fff5ab

View file

@ -20,7 +20,13 @@ fi
echo "Logged in as root" echo "Logged in as root"
function minimalinstallation() { function minimalinstallation() {
if [ -f base.txt ]; then
pacstrap -c -d -G -M ${mountpoint} $(cat base.txt)
elif [ -f /opt/${repo}/base.txt ]; then
pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt) pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt)
fi
} }
function gitclone() { function gitclone() {