Merge branch 'master' of https://github.com/simono41/SpectreOS
This commit is contained in:
commit
546e628e07
2 changed files with 6 additions and 5 deletions
BIN
.config.tar.xz
BIN
.config.tar.xz
Binary file not shown.
|
@ -30,12 +30,13 @@ 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 /
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue