Fremantle updates: easy-chroot 0.2.7, easy-deb-chroot 0.9.42
[easy-deb-chroot] / fremantle / easy-deb-chroot / control / postrm
index fe437e2..6534c95 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/sh
 
+UPGRADE=$1
+if [ "$UPGRADE" = "remove" ] ; then
+
 export MSG1=`printf "\
 Removing this package does NOT delete the large image file\n\
 named debian-stable.img.ext2 from your SD card. You can do this\n\
@@ -8,4 +11,6 @@ before you are allowed to delete the file."`
 echo $MSG1 > /tmp/msg.txt
 maemo-confirm-text "Notice" /tmp/msg.txt
 
+fi
+
 exit 0
\ No newline at end of file