mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +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:
parent
5dc7ac2a38
commit
f06f6d7920
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue