]> err.no Git - util-linux/commitdiff
deliver hwclockfirst.sh on ubuntu as well. LP: #63175
authorLaMont Jones <lamont@debian.org>
Wed, 3 Oct 2007 03:52:54 +0000 (21:52 -0600)
committerLaMont Jones <lamont@debian.org>
Thu, 4 Oct 2007 20:38:46 +0000 (14:38 -0600)
debian/rules

index 4fd205d784e6fe7a00cbae719153fcded74f1203..7b610cd88a8945421e62709d3d60b78dce8616cc 100755 (executable)
@@ -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; \