]> err.no Git - util-linux/commitdiff
Depends: install-info, set -e in postrm
authorLaMont Jones <lamont@debian.org>
Thu, 17 Sep 2009 18:50:56 +0000 (12:50 -0600)
committerLaMont Jones <lamont@debian.org>
Thu, 17 Sep 2009 18:50:56 +0000 (12:50 -0600)
debian/control
debian/util-linux.postrm

index 9f2851648d3d9c7c40e1d07cdbd2c848e8786681..f0fa6ba357b0a54ac9a209892f4cbba7ad6940cb 100644 (file)
@@ -13,7 +13,7 @@ Architecture: any
 Section: utils
 Priority: required
 Essential: yes
-Depends: lsb-base (>= 3.0-6), tzdata (>=2006c-2), initscripts
+Depends: lsb-base (>= 3.0-6), tzdata (>=2006c-2), initscripts, install-info
 Pre-Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: util-linux-locales, kbd | console-tools, dosfstools
 Replaces: schedutils, miscutils, setterm, fdisk, linux32, sparc-utils, e2fsprogs, ${util-linux:Conflicts}
index 5e02ad26ed3e7dc8f9d70a13fc673156cd3cea8b..21630b1851fded9c5e1e9ae863d727c03fe37e29 100644 (file)
@@ -1,11 +1,13 @@
 #!/bin/sh
 
+set -e
+
 case "$1" in
        remove)
                ;;
         purge)
-                update-rc.d hwclock.sh remove >/dev/null
-               update-rc.d hwclockfirst.sh remove >/dev/null
+                update-rc.d hwclock.sh remove >/dev/null || true
+               update-rc.d hwclockfirst.sh remove >/dev/null || true
                rm -f /etc/adjtime
                 ;;
        *)