runit

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 8835d3f940b40c10baef7009993915c439dcdebe
parent ceec2dbff0c0fc34a3f10089212a7686cab526f8
Author: Gerrit Pape <pape@smarden.org>
Date:   Thu,  5 Dec 2002 21:19:43 +0000

  * debian/rules: use dh_installdocs -n.
  * debian/runit.preinst: remove #DEBHELPER#.
-5.

Diffstat:
Mdebian/changelog | 4+++-
Mdebian/rules | 2+-
Mdebian/runit.preinst | 18+++++-------------
3 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/debian/changelog b/debian/changelog @@ -3,8 +3,10 @@ runit (0.7.1-5) unstable; urgency=low * debian/3: stop getties after all other services. * debian/control: Architecture: any, build dependency sorts out; build-depends on dietlibc >> 0.22-0 (available on ia64). + * debian/rules: use dh_installdocs -n. + * debian/runit.preinst: remove #DEBHELPER#. - -- Gerrit Pape <pape@smarden.org> Thu, 5 Dec 2002 21:41:03 +0100 + -- Gerrit Pape <pape@smarden.org> Thu, 5 Dec 2002 22:17:18 +0100 runit (0.7.1-4) unstable; urgency=low diff --git a/debian/rules b/debian/rules @@ -121,7 +121,7 @@ binary-arch: build install dh_testdir -a dh_testroot -a # dh_installdebconf -a - dh_installdocs -a + dh_installdocs -an # dh_installexamples -a dh_installman -a admin/runit/man/*.8 # dh_undocumented -a diff --git a/debian/runit.preinst b/debian/runit.preinst @@ -16,12 +16,11 @@ set -e case "$1" in - install|upgrade) - if [ -n "$2" ]; then - # upgrading - if [ -x /sbin/runit -a ! -e /sbin/runit.old ]; then - ln /sbin/runit /sbin/runit.old - fi + install) + ;; + upgrade) + if [ -x /sbin/runit -a ! -e /sbin/runit.old ]; then + ln /sbin/runit /sbin/runit.old fi ;; abort-upgrade) @@ -31,10 +30,3 @@ case "$1" in exit 1 ;; esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0