Skip to content

Commit

Permalink
fix update install routines
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Sep 21, 2018
1 parent 59e4cee commit b388e98
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dbaccess
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ case "$1" in
;;

info)
echo "Info: <div style=\"float:left;\"><a href=\"http://www.christian-luetgens.de/homematic/db-access/DB-Access.htm\" target=\"_blank\"><img src="../addons/db/yellow_teddybear_white.png" width="54" height="50"></a></div><div style=\"float:right;\"><b>DB-Access</b><br>Copyright 2011-2015<br>by Yellow Teddybear Software<br>licensed under GNU/GPL</div><div style=\"clear:both;\"></div>"
echo "Info: <div style=\"float:left;\"><a href=\"http://www.christian-luetgens.de/homematic/db-access/DB-Access.htm\" target=\"_blank\"><img src="../addons/db/yellow_teddybear_white.png" width="54" height="50"></a></div><div style=\"float:right;\"><b>DB-Access</b><br>Copyright 2011-2018<br>by Yellow Teddybear Software<br>licensed under GNU/GPL</div><div style=\"clear:both;\"></div>"
echo "Name: DB-Access"
echo "Version: 2.0b3"
echo "Version: 2.0b4"
echo "Operations: uninstall"
;;
uninstall)
Expand Down
3 changes: 2 additions & 1 deletion generate_img.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ cp -a db/* tmp/db
cp update_script tmp/
cp dbaccess tmp/
cd tmp
tar -czvf ../dbaccess-2.0b3.tar.gz *
find . -not -name '.DS_Store' -not -name '*.sha256' -type f -print0 | xargs -0 sha256sum >dbaccess-2.0b4.sha256
tar --owner=root --group=root --exclude=.DS_Store -czvf ../dbaccess-2.0b4.tar.gz *
cd ..
rm -rf tmp
4 changes: 3 additions & 1 deletion update_script
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b388e98

Please sign in to comment.