1
0
mirror of https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git synced 2023-10-10 11:37:40 +00:00

remove dependency to cuxd on uninstall

This commit is contained in:
Jan Schneider
2018-01-28 00:37:31 +01:00
parent de7df23b01
commit f7583f8369
3 changed files with 2 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ case "$1" in
uninstall)
logger -t homematic -p user.info "removing addon ${ADDON_NAME}"
"/usr/local/addons/cuxd/update_addon" ${ADDON_NAME} || true
"${ADDON_DIR}/update_addon" ${ADDON_NAME} || true
[ -e "${ADDON_DIR}" ] && rm -rf "${ADDON_DIR}"
[ -L "${CONFIG_DIR}/addons/www/${ADDON_NAME}" ] && rm "${CONFIG_DIR}/addons/www/${ADDON_NAME}"