mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
commit
718d3df573
1 changed files with 1 additions and 1 deletions
|
@ -1105,7 +1105,7 @@ updateRepo(){
|
||||||
# Go back to /usr/local/src otherwise git will complain when the current working
|
# Go back to /usr/local/src otherwise git will complain when the current working
|
||||||
# directory has just been deleted (/usr/local/src/pivpn).
|
# directory has just been deleted (/usr/local/src/pivpn).
|
||||||
cd /usr/local/src && \
|
cd /usr/local/src && \
|
||||||
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $!
|
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null && spinner $!
|
||||||
cd "${1}" || exit 1
|
cd "${1}" || exit 1
|
||||||
echo " done!"
|
echo " done!"
|
||||||
if [ -n "${pivpnGitBranch}" ]; then
|
if [ -n "${pivpnGitBranch}" ]; then
|
||||||
|
|
Loading…
Reference in a new issue