mirror of
https://github.com/pivpn/pivpn.git
synced 2025-04-01 13:10:14 +00:00
added support to Stretch, removed useless code, added info about stretch support
This commit is contained in:
parent
29a5dbb22b
commit
c1918417d6
1 changed files with 0 additions and 27 deletions
|
@ -438,33 +438,6 @@ update_package_cache() {
|
||||||
timestampAsDate=$(date -d @"${timestamp}" "+%b %e")
|
timestampAsDate=$(date -d @"${timestamp}" "+%b %e")
|
||||||
today=$(date "+%b %e")
|
today=$(date "+%b %e")
|
||||||
|
|
||||||
#### REMOVE IF TESTING WORKS #####
|
|
||||||
#<<<<<<< HEAD
|
|
||||||
# case ${PLAT} in
|
|
||||||
# Ubuntu|Debian|Devuan)
|
|
||||||
# case ${OSCN} in
|
|
||||||
# trusty|jessie|wheezy)
|
|
||||||
# wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg| $SUDO apt-key add -
|
|
||||||
# echo "deb http://swupdate.openvpn.net/apt $OSCN main" | $SUDO tee /etc/apt/sources.list.d/swupdate.openvpn.net.list > /dev/null
|
|
||||||
# echo -n "::: Adding OpenVPN repo for $PLAT $OSCN ..."
|
|
||||||
# $SUDO apt-get -qq update & spinner $!
|
|
||||||
# echo " done!"
|
|
||||||
# ;;
|
|
||||||
# esac
|
|
||||||
# ;;
|
|
||||||
# esac
|
|
||||||
#=======
|
|
||||||
# if [[ ${PLAT} == "Ubuntu" || ${PLAT} == "Debian" ]]; then
|
|
||||||
# if [[ ${OSCN} == "trusty" || ${OSCN} == "jessie" || ${OSCN} == "wheezy" ]]; then
|
|
||||||
# wget -O - https://swupdate.openvpn.net/repos/repo-public.gpg| $SUDO apt-key add -
|
|
||||||
# echo "deb http://build.openvpn.net/debian/openvpn/stable $OSCN main" | $SUDO tee /etc/apt/sources.list.d/swupdate.openvpn.net.list > /dev/null
|
|
||||||
# echo -n "::: Adding OpenVPN repo for $PLAT $OSCN ..."
|
|
||||||
# $SUDO apt-get -qq update & spinner $!
|
|
||||||
# echo " done!"
|
|
||||||
# fi
|
|
||||||
# fi
|
|
||||||
#>>>>>>> 454b755116d8cad6b67b56ac15a7235ceac02b5a
|
|
||||||
##### REMOVE UNTIL THIS POINT######
|
|
||||||
|
|
||||||
if [ ! "${today}" == "${timestampAsDate}" ]; then
|
if [ ! "${today}" == "${timestampAsDate}" ]; then
|
||||||
#update package lists
|
#update package lists
|
||||||
|
|
Loading…
Add table
Reference in a new issue