Some fixes and cleanup of Fremantle easy-chroot scripts
[easy-deb-chroot] / fremantle / easy-deb-chroot / control / postinst
index d61c396..a66e2ec 100644 (file)
@@ -1,11 +1,14 @@
 #!/bin/sh
 
+closechroot
+
 set -e
 
-CHROOT=/debian
+CHROOT=/.debian
 TSTFILE=/usr/bin/hilda
+
 if [ ! -d "$CHROOT" ] ; then
-    mkdir /debian
+    mkdir /.debian
 # else
 #    if [ -f "$CHROOT$TSTFILE" ] || [ ! "x`/sbin/debian echo hello | grep hello`" = "x" ] ; then
 #       closechroot