X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=fremantle%2Feasy-deb-chroot%2Fcontrol%2Fpostinst;fp=fremantle%2Feasy-deb-chroot%2Fcontrol%2Fpostinst;h=a66e2ec3c9ece2219d6193bfdc1020c6cfc00862;hb=c1eb02d9f712eafc7ad7b45475e98e9066e7df3d;hp=d61c3967868bec4cb9e45c7d15e36dd2c82249a6;hpb=30f74f731f4129d2d6928d4e728faa6ee12e06ac;p=easy-deb-chroot diff --git a/fremantle/easy-deb-chroot/control/postinst b/fremantle/easy-deb-chroot/control/postinst index d61c396..a66e2ec 100644 --- a/fremantle/easy-deb-chroot/control/postinst +++ b/fremantle/easy-deb-chroot/control/postinst @@ -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