From 1b8541c0798ab9d23af5095f57080a2ca3c83947 Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 10 Mar 2018 22:17:49 +0100 Subject: [PATCH] fix --- arch-graphical-install-auto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch-graphical-install-auto b/arch-graphical-install-auto index c7cff81..b5488d2 100755 --- a/arch-graphical-install-auto +++ b/arch-graphical-install-auto @@ -27,19 +27,19 @@ userpass="$3" [[ -z "${userpass}" ]] && userpass="user1" function gitclone() { - if [ -d "${repo}" ]; then + if [ -d "/opt/${repo}" ]; then echo "${repo} existiert bereits!!!" cd /opt/${repo} git pull else - git clone ${WEBADDRESS} + git clone ${WEBADDRESS} /opt/${repo} fi - if [ -d "${repo1}" ]; then + if [ -d "/opt/${repo1}" ]; then echo "${repo1} existiert bereits!!!" cd /opt/${repo1} git pull else - git clone ${WEBADDRESS1} + git clone ${WEBADDRESS1} /opt/${repo1} fi cd / }