From 0fa69b70ffb0298b5aa01531d19619f0522e7f12 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Tue, 2 Oct 2007 21:52:54 -0600 Subject: [PATCH] deliver hwclockfirst.sh on ubuntu as well. LP: #63175 --- debian/rules | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 4fd205d7..7b610cd8 100755 --- a/debian/rules +++ b/debian/rules @@ -101,12 +101,11 @@ endif if [ -f debian/util-linux/sbin/hwclock ] ; then \ install -m 755 debian/hwclock.sh debian/util-linux/etc/init.d/hwclock.sh; \ fi -ifeq ($(DISTRO),Debian) 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; \ fi -else +ifneq ($(DISTRO),Debian) if [ -f debian/util-linux/sbin/hwclock ] ; then \ install -m 755 debian/hwclock.udev debian/util-linux/lib/udev/set_hwclock && \ install -m 644 debian/hwclock.rules debian/util-linux/etc/udev/rules.d/85-hwclock.rules; \ -- 2.39.5