This commit is contained in:
Stanislav Simovski 2022-06-25 12:29:58 +03:00 committed by GitHub
parent f8cb945af1
commit ae1513c50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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