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:
parent
be954960f6
commit
f64c596d23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user