wip
This commit is contained in:
parent
d97eef954d
commit
fc6025d0ae
1 changed files with 5 additions and 4 deletions
|
@ -53,7 +53,7 @@ fi
|
||||||
clone() {
|
clone() {
|
||||||
local cloneDir="/opt/shell-color-scripts"
|
local cloneDir="/opt/shell-color-scripts"
|
||||||
if [ ! -d "$cloneDir" ]; then
|
if [ ! -d "$cloneDir" ]; then
|
||||||
git clone --depth=1 https://github.com/charitarthchugh/shell-color-scripts "$cloneDir"
|
$_sudo git clone --depth=1 https://github.com/charitarthchugh/shell-color-scripts "$cloneDir"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,6 +69,7 @@ link() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if clone; then
|
check_root &&
|
||||||
link
|
if clone; then
|
||||||
fi
|
link
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue