diff --git a/lib/debian-finish.sh b/lib/debian-finish.sh index a22c692..6bb93a3 100644 --- a/lib/debian-finish.sh +++ b/lib/debian-finish.sh @@ -155,10 +155,6 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then fi fi - if [ -f /boot/uboot/vmlinuz- ] ; then - rm -f /boot/uboot/vmlinuz- || true - fi - #Cleanup: mv /boot/uboot/bootdrive /boot/uboot/backup/ || true mv /boot/uboot/mounts /boot/uboot/backup/ || true diff --git a/lib/ubuntu-finish.sh b/lib/ubuntu-finish.sh index 4941014..e1749c4 100644 --- a/lib/ubuntu-finish.sh +++ b/lib/ubuntu-finish.sh @@ -171,10 +171,6 @@ if [ ! "x${conf_smart_uboot}" = "xenable" ] ; then fi fi - if [ -f /boot/uboot/vmlinuz- ] ; then - rm -f /boot/uboot/vmlinuz- || true - fi - #Cleanup: mv /boot/uboot/bootdrive /boot/uboot/backup/ || true mv /boot/uboot/mounts /boot/uboot/backup/ || true