mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30: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
|
cd /etc
|
||||||
$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
|
||||||
if [ -z "${TESTING}" ]; then
|
if [ -z "${TESTING+x}" ]; then
|
||||||
:
|
:
|
||||||
elif [ "${TESTING}" = "test" ]; then
|
else
|
||||||
${SUDOE} git checkout test
|
${SUDOE} git checkout test
|
||||||
elif [ "${TESTING}" = "test-wireguard" ]; then
|
|
||||||
${SUDOE} git checkout test-wireguard
|
|
||||||
fi
|
fi
|
||||||
echo " done!"
|
echo " done!"
|
||||||
}
|
}
|
||||||
|
@ -634,12 +632,10 @@ makeRepo(){
|
||||||
cd /etc
|
cd /etc
|
||||||
$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
|
||||||
if [ -z "${TESTING}" ]; then
|
if [ -z "${TESTING+x}" ]; then
|
||||||
:
|
:
|
||||||
elif [ "${TESTING}" = "test" ]; then
|
else
|
||||||
${SUDOE} git checkout test
|
${SUDOE} git checkout test
|
||||||
elif [ "${TESTING}" = "test-wireguard" ]; then
|
|
||||||
${SUDOE} git checkout test-wireguard
|
|
||||||
fi
|
fi
|
||||||
echo " done!"
|
echo " done!"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue