mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 10:50:16 +00:00
Removed reference to deleted branch
This commit is contained in:
parent
a03d4e1be2
commit
d34577329e
1 changed files with 4 additions and 8 deletions
|
@ -615,12 +615,10 @@ updateRepo(){
|
|||
cd /etc
|
||||
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $!
|
||||
cd "${1}" || exit 1
|
||||
if [ -z "${TESTING}" ]; then
|
||||
if [ -z "${TESTING+x}" ]; then
|
||||
:
|
||||
elif [ "${TESTING}" = "test" ]; then
|
||||
else
|
||||
${SUDOE} git checkout test
|
||||
elif [ "${TESTING}" = "test-wireguard" ]; then
|
||||
${SUDOE} git checkout test-wireguard
|
||||
fi
|
||||
echo " done!"
|
||||
}
|
||||
|
@ -634,12 +632,10 @@ makeRepo(){
|
|||
cd /etc
|
||||
$SUDO git clone -q --depth 1 --no-single-branch "${2}" "${1}" > /dev/null & spinner $!
|
||||
cd "${1}" || exit 1
|
||||
if [ -z "${TESTING}" ]; then
|
||||
if [ -z "${TESTING+x}" ]; then
|
||||
:
|
||||
elif [ "${TESTING}" = "test" ]; then
|
||||
else
|
||||
${SUDOE} git checkout test
|
||||
elif [ "${TESTING}" = "test-wireguard" ]; then
|
||||
${SUDOE} git checkout test-wireguard
|
||||
fi
|
||||
echo " done!"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue