From 856320fa812990962288c8e332dcd63ee3db556d Mon Sep 17 00:00:00 2001 From: simono41 Date: Fri, 27 Apr 2018 18:53:57 +0000 Subject: [PATCH] arch-image-fix --- arch-install | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch-install b/arch-install index a9bcd60..911b2c9 100755 --- a/arch-install +++ b/arch-install @@ -20,7 +20,7 @@ fi echo "Logged in as root" 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() { @@ -805,7 +805,7 @@ function abfrage() { # berechnungen - if [ "${update}" != "n" ]; then +# if [ "${update}" != "n" ]; then read -p "Should an offline installation be carried out? : [Y/n] " offline if [ "${offline}" != "n" ] then @@ -813,11 +813,11 @@ function abfrage() { else install="online" fi - else - install="offline" - fi +# else +# install="offline" +# fi - if [ "${offline}" != "n" ]; then + if [ "${offline}" != "n" ] && [ "${update}" != "n" ]; then read -p "Do you want to activate the VNC protocol? : [y/N] " x11vnc echo "This password is only valid for the current session !!!" if [ "${x11vnc}" == "y" ]; then