This commit is contained in:
simono41 2018-03-14 14:25:56 +01:00
commit 546e628e07
2 changed files with 6 additions and 5 deletions

Binary file not shown.

View file

@ -30,13 +30,14 @@ function minimalinstallation() {
} }
function gitclone() { function gitclone() {
cd /opt/ if [ -d "/opt/${repo}" ]; then
if [ -d "${repo}" ]; then
echo "${repo} already exists!!!" echo "${repo} already exists!!!"
rm -Rv ${repo} cd /opt/${repo}
git pull
else
git clone ${WEBADDRESS} /opt/${repo}
fi fi
git clone ${WEBADDRESS} cd /
cd /
} }
function secureumount() { function secureumount() {