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

cleanup firmware images

This commit is contained in:
Jan Schneider 2018-03-25 19:48:33 +02:00
parent be954960f6
commit f64c596d23

View File

@ -60,6 +60,9 @@ touch "${CONFIG_DIR}/hm_addons.cfg"
chmod 755 ${ADDON_DIR}/update_addon
${ADDON_DIR}/update_addon ${ADDON_NAME} "${ADDON_DIR}/etc/${ADDON_NAME}-addon.cfg"
echo "cleanup" >>$LOG_FILE
[ -e "${ADDON_DIR}/var/img/RaspberryMatic-unknown.img" ] && rm "${ADDON_DIR}/var/img/RaspberryMatic-unknown.img"
sync
if [ "$1" = "" ]; then