lists.arthurdejong.org
RSS feed

cvsd commit: MODIFIED: . ...

[Date Prev][Date Next] [Thread Prev][Thread Next]

cvsd commit: MODIFIED: . ...



User: arthur
Date: 12/05/25 10:23:52

Modified:    . postrm
Log:
allow preseeding of cvsd/remove_chroot


Revision  Changes    Path
1.10      +5 -9      cvsd/debian/postrm

Index: postrm
===================================================================
RCS file: /home/arthur/devel/repos/cvsd/debian/postrm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- postrm      7 Dec 2007 14:33:36 -0000       1.9
+++ postrm      25 May 2012 08:23:52 -0000      1.10
@@ -14,17 +14,13 @@
         CHROOT="$RET"
         db_title "Removing cvsd"
         db_subst cvsd/remove_chroot rootjail "$CHROOT"
-        if db_input high cvsd/remove_chroot
-        then
+        db_input high cvsd/remove_chroot || true
           db_go
           db_get cvsd/remove_chroot
           if [ "$RET" = "true" ]
           then
             rm -rf "$CHROOT"
           fi
-        else
-          echo "WARNING: not deleting $CHROOT!" >&2
-        fi
       fi
     fi
     # remove config


-- 
To unsubscribe send an email to
cvsd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-commits/