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:
2
rmupdate
2
rmupdate
@@ -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}"
|
||||
|
Reference in New Issue
Block a user