arch-image-fix

This commit is contained in:
simono41 2018-04-27 18:53:57 +00:00
parent c6dae00224
commit 856320fa81

View file

@ -20,7 +20,7 @@ fi
echo "Logged in as root" echo "Logged in as root"
function minimalinstallation() { function minimalinstallation() {
pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/packages_voll.txt) pacstrap -c -d -G -M ${mountpoint} $(cat /opt/${repo}/base.txt)
} }
function gitclone() { function gitclone() {
@ -805,7 +805,7 @@ function abfrage() {
# berechnungen # berechnungen
if [ "${update}" != "n" ]; then # if [ "${update}" != "n" ]; then
read -p "Should an offline installation be carried out? : [Y/n] " offline read -p "Should an offline installation be carried out? : [Y/n] " offline
if [ "${offline}" != "n" ] if [ "${offline}" != "n" ]
then then
@ -813,11 +813,11 @@ function abfrage() {
else else
install="online" install="online"
fi fi
else # else
install="offline" # install="offline"
fi # fi
if [ "${offline}" != "n" ]; then if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then
read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc
echo "This password is only valid for the current session !!!" echo "This password is only valid for the current session !!!"
if [ "${x11vnc}" == "y" ]; then if [ "${x11vnc}" == "y" ]; then