mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-15 08:01:26 +00:00
Revert commented out code for testing proposes
This commit is contained in:
@@ -94,12 +94,12 @@ if [ -f /storage/old_version ]; then
|
||||
# Delete temporary OpenWrt image
|
||||
rm /tmp/squashfs-combined-tmp.img
|
||||
|
||||
# # Finally remove old squashfs-combined and old files
|
||||
# rm /storage/$OLD_SQUASHFS_COMBINED
|
||||
# rm /storage/old_version
|
||||
# if [ -f storage/config-`basename $OLD_SQUASHFS_COMBINED.img`.tar.gz ]; then
|
||||
# rm /storage/config-`basename $OLD_SQUASHFS_COMBINED.img`.tar.gz
|
||||
# fi
|
||||
# Finally remove old squashfs-combined and old files
|
||||
rm /storage/$OLD_SQUASHFS_COMBINED
|
||||
rm /storage/old_version
|
||||
if [ -f storage/config-`basename $OLD_SQUASHFS_COMBINED.img`.tar.gz ]; then
|
||||
rm /storage/config-`basename $OLD_SQUASHFS_COMBINED.img`.tar.gz
|
||||
fi
|
||||
else
|
||||
info "squashfs-combined-${OPENWRT_IMAGE_ID}.img is up to date. Nothing to do."
|
||||
fi
|
||||
Reference in New Issue
Block a user