projects
/
easy-deb-chroot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes and cleanup of Fremantle easy-chroot scripts
[easy-deb-chroot]
/
fremantle
/
easy-deb-chroot
/
control
/
postinst
diff --git
a/fremantle/easy-deb-chroot/control/postinst
b/fremantle/easy-deb-chroot/control/postinst
index
d61c396
..
a66e2ec
100644
(file)
--- a/
fremantle/easy-deb-chroot/control/postinst
+++ b/
fremantle/easy-deb-chroot/control/postinst
@@
-1,11
+1,14
@@
#!/bin/sh
#!/bin/sh
+closechroot
+
set -e
set -e
-CHROOT=/debian
+CHROOT=/.debian
TSTFILE=/usr/bin/hilda
TSTFILE=/usr/bin/hilda
+
if [ ! -d "$CHROOT" ] ; then
if [ ! -d "$CHROOT" ] ; then
- mkdir /debian
+ mkdir /.debian
# else
# if [ -f "$CHROOT$TSTFILE" ] || [ ! "x`/sbin/debian echo hello | grep hello`" = "x" ] ; then
# closechroot
# else
# if [ -f "$CHROOT$TSTFILE" ] || [ ! "x`/sbin/debian echo hello | grep hello`" = "x" ] ; then
# closechroot