From 9c579bf0f9648a8825fb89151c424b9cb84940df Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Fri, 21 Sep 2018 15:13:22 +0200 Subject: [PATCH] fix installation routines for RaspberryMatic --- generate_img.sh | 3 ++- quickaccess | 4 ++-- update_script | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/generate_img.sh b/generate_img.sh index 3654eca..654afdf 100755 --- a/generate_img.sh +++ b/generate_img.sh @@ -4,6 +4,7 @@ cp -a qa/* tmp/qa cp update_script tmp/ cp quickaccess tmp/ cd tmp -tar --owner=root --group=root --exclude=.DS_Store -czvf ../quickaccess-2.1b2.tar.gz * +find . -not -name '.DS_Store' -not -name '*.sha256' -type f -print0 | xargs -0 sha256sum >quickaccess-2.1b3.sha256 +tar --owner=root --group=root --exclude=.DS_Store -czvf ../quickaccess-2.1b3.tar.gz * cd .. rm -rf tmp diff --git a/quickaccess b/quickaccess index 88dd8f3..7c0c186 100755 --- a/quickaccess +++ b/quickaccess @@ -7,9 +7,9 @@ case "$1" in ;; info) - echo "Info:
WebUI QuickAccess
Copyright 2010-2015
by Yellow Teddybear Software
licensed under GNU/GPL
" + echo "Info:
WebUI QuickAccess
Copyright 2010-2018
by Yellow Teddybear Software
licensed under GNU/GPL
" echo "Name: QuickAccess" - echo "Version: 2.1b2" + echo "Version: 2.1b3" echo "Operations: uninstall" ;; uninstall) diff --git a/update_script b/update_script index 9eccb30..2425102 100755 --- a/update_script +++ b/update_script @@ -43,6 +43,8 @@ elif [ "$1" = "CCU2" ]; then # CCU2 always reboots after Addon/Firmware Update elif [ "$1" = "HM-RASPBERRYMATIC" ]; then echo "HM-RASPBERRYMATIC" - umount /usr/local # RASPBERRYMATIC always reboots after Addon/Firmware Update fi + +# signal success without requiring a reboot +exit 0