Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'advanced/Scripts/version.sh')
-rwxr-xr-xadvanced/Scripts/version.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/advanced/Scripts/version.sh b/advanced/Scripts/version.sh
index 5674bce1..fd74c2de 100755
--- a/advanced/Scripts/version.sh
+++ b/advanced/Scripts/version.sh
@@ -80,8 +80,8 @@ getRemoteVersion(){
normalOutput() {
- echo "::: Pi-hole version is ${PHVERSION} (Latest version is ${PHVERSIONLATEST})"
- echo "::: Web-Admin version is ${WEBVERSION} (Latest version is ${WEBVERSIONLATEST})"
+ echo "::: Pi-hole version is $(getLocalVersion "${PHGITDIR}") (Latest version is $(getRemoteVersion pi-hole))"
+ echo "::: Web-Admin version is $(getLocalVersion "${WEBGITDIR}") (Latest version is $(getRemoteVersion AdminLTE))"
}
webOutput() {