From 96520cd4d59f733785b3e3bbbdc3fed8b2032658 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Sun, 30 Dec 2007 10:34:34 -0700 Subject: [PATCH] rules: correct LSB init data for hwclockfirst.sh Addresses-Debian-Bug: 458346 Signed-off-by: LaMont Jones --- debian/rules | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 5907e66e..4af971eb 100755 --- a/debian/rules +++ b/debian/rules @@ -104,10 +104,8 @@ endif install -m 644 debian/mime.util-linux debian/util-linux/usr/lib/mime/packages/util-linux if [ -f debian/util-linux/sbin/hwclock ] ; then \ install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclock.sh; \ - fi - if [ -f debian/util-linux/sbin/hwclock ] ; then \ install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclockfirst.sh; \ - sed -i '/^FIRST=/s/no/yes/' debian/util-linux/etc/init.d/hwclockfirst.sh; \ + sed -ie '/^FIRST=/s/no/yes/' -e '/Provides:/s/ck/ckfirst/' debian/util-linux/etc/init.d/hwclockfirst.sh; \ fi ifneq ($(DISTRO),Debian) if [ -f debian/util-linux/sbin/hwclock ] ; then \ -- 2.39.5