fix
This commit is contained in:
parent
26e2f964be
commit
eea5d0a5e7
1 changed files with 6 additions and 5 deletions
11
arch-install
11
arch-install
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue