From 3669f13b119d700e03d0d5d2338eeb0002835913 Mon Sep 17 00:00:00 2001 From: codehelp Date: Tue, 1 Feb 2011 22:10:17 +0000 Subject: [PATCH] Fix typo in sysvinit chroot.sh script. git-svn-id: http://emdebian.org/svn/current@7733 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 6 ++++++ examples/chroot.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 73cfc4d..962d576 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +multistrap (2.1.10) experimental; urgency=low + + * Fix typo in sysvinit chroot.sh script. + + -- Neil Williams Tue, 01 Feb 2011 22:09:40 +0000 + multistrap (2.1.9) experimental; urgency=low * Allow missing packages lines and add note about using omitdebsrc diff --git a/examples/chroot.sh b/examples/chroot.sh index 2d598fc..e7b694d 100755 --- a/examples/chroot.sh +++ b/examples/chroot.sh @@ -29,7 +29,7 @@ echo \"Warning: Fake initctl called, doing nothing\"" > "$TARGET/sbin/initctl" fi # sysvinit support - exit value of 101 is essential. -if [ -x "$TARGET/sbin/init" && ! -f "$TARGET/usr/sbin/policy-rc.d" ]; then +if [ -x "$TARGET/sbin/init" -a ! -f "$TARGET/usr/sbin/policy-rc.d" ]; then echo "sysvinit: Using policy-rc.d to prevent daemons from starting in $TARGET" mkdir -p $TARGET/usr/sbin/ cat > $TARGET/usr/sbin/policy-rc.d << EOF