From 3cc4691ec85a005459f014309352bd6206721eb0 Mon Sep 17 00:00:00 2001 From: codehelp Date: Mon, 25 May 2009 16:58:42 +0000 Subject: [PATCH] Tweak the update-rc.d replacement to avoid using a backslash. (Closes: #530076) git-svn-id: http://emdebian.org/svn/current@6329 563faec7-e20c-0410-992a-a66f704d0ccd --- debian/changelog | 4 +++- update-rc.d | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ea315b1..42cff42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ emdebian-rootfs (2.0.1) unstable; urgency=low * Expand long description for multistrap (Closes: #527364) + * Tweak the update-rc.d replacement to avoid using a backslash. + (Closes: #530076) - -- Neil Williams Thu, 07 May 2009 19:49:30 +0100 + -- Neil Williams Mon, 25 May 2009 17:39:21 +0100 emdebian-rootfs (2.0.0) unstable; urgency=low diff --git a/update-rc.d b/update-rc.d index 1491d9d..a013fe2 100755 --- a/update-rc.d +++ b/update-rc.d @@ -32,7 +32,8 @@ if [ -z "$bn" -o -z "$1" ]; then exit 1 fi if [ ! -f "$initd/$bn" ]; then - echo "update-rc.d: $initd/$bn: file does not exist\n" + echo "update-rc.d: $initd/$bn: file does not exist" + echo exit 1 fi if [ "$1" = 'remove' ]; then