From 2a139dbd374afe5deb2d35b2ede413f615ef170c Mon Sep 17 00:00:00 2001 From: hobbyquaker Date: Sun, 31 Mar 2019 20:01:39 +0200 Subject: [PATCH] fix version display, request reboot after install --- addon_files/mosquitto/rc.d/mosquitto | 2 +- addon_files/update_script | 2 +- build.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addon_files/mosquitto/rc.d/mosquitto b/addon_files/mosquitto/rc.d/mosquitto index acb0109..75af1d2 100755 --- a/addon_files/mosquitto/rc.d/mosquitto +++ b/addon_files/mosquitto/rc.d/mosquitto @@ -47,7 +47,7 @@ case "$1" in info) echo "Info:
" echo "Name: Mosquitto" - echo "Version: 1.4.15+5" + echo "Version: 1.5.8+1" echo "Update: /addons/mosquitto/update_check.cgi" echo "Operations: uninstall restart" ;; diff --git a/addon_files/update_script b/addon_files/update_script index c7f1b01..df9d741 100755 --- a/addon_files/update_script +++ b/addon_files/update_script @@ -40,4 +40,4 @@ fi sync -exit 0 +exit 10 diff --git a/build.sh b/build.sh index 7b66326..b6597ad 100755 --- a/build.sh +++ b/build.sh @@ -13,7 +13,7 @@ cp -r $ADDON_FILES/* $ADDON_TMP/ cd $BUILD_DIR -ADDON_FILE=mosquitto-1.5.8+0.tar.gz +ADDON_FILE=mosquitto-1.5.8+1.tar.gz echo "compressing addon package $ADDON_FILE ..." mkdir $BUILD_DIR/dist 2> /dev/null