From: LaMont Jones Date: Wed, 3 Oct 2007 03:52:54 +0000 (-0600) Subject: deliver hwclockfirst.sh on ubuntu as well. LP: #63175 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23acfabafba900f14b740f682f8f0ab93709f446;p=util-linux deliver hwclockfirst.sh on ubuntu as well. LP: #63175 --- 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; \