1
0
Fork 0
mirror of https://github.com/pivpn/pivpn.git synced 2024-12-23 13:20:16 +00:00

Temporarily disable 'pivpn -up' until a proper update strategy is defined

- 'pivpn -up' pulls the latest scripts from github, however, as of now, its usefulness
    is limited since usually a change in those scripts is a result of a change in the
    installation process, and those changes can't be applied to an older installation.
This commit is contained in:
Orazio 2020-05-25 10:14:15 +02:00
parent 5dc7ac2a38
commit f06f6d7920
2 changed files with 6 additions and 2 deletions
scripts
openvpn
wireguard

View file

@ -58,7 +58,9 @@ function versionFunc {
function update { function update {
shift shift
$SUDO ${scriptDir}/update.sh "$@" # $SUDO ${scriptDir}/update.sh "$@"
echo "::: The updating functionality for PiVPN scripts is temporarily disabled"
echo "::: To keep the VPN (and the system) up to date, use 'apt update' and 'apt upgrade'"
exit 0 exit 0

View file

@ -54,7 +54,9 @@ uninstallServer(){
updateScripts(){ updateScripts(){
shift shift
$SUDO ${scriptdir}/update.sh "$@" # $SUDO ${scriptdir}/update.sh "$@"
echo "::: The updating functionality for PiVPN scripts is temporarily disabled"
echo "::: To keep the VPN (and the system) up to date, use 'apt update' and 'apt upgrade'"
exit 0 exit 0
} }