From: Julien Valroff Date: Sat, 12 Aug 2006 17:24:39 +0000 (+0000) Subject: [DEB] Calls dh_installmodules for maintainance scripts X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=e30c5cd571b1c95babaf469784732bb3676b5b44;p=omnibook.git [DEB] Calls dh_installmodules for maintainance scripts --- diff --git a/debian/changelog b/debian/changelog index 367c7e2..a0b85e7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ omnibook (2:2.20060809-3) unstable; urgency=low + Fixed Toshiba Satellite M40X detection string * [01_makfefile.dpatch] Removed - fixed upstream * Changed defaut STEM value to linux (follows kernel-package) + * Uses dh_installmodules for maintainance scripts -- Julien Valroff Sat, 12 Aug 2006 11:56:39 +0200 diff --git a/debian/postinst.modules.in b/debian/postinst.modules.in deleted file mode 100644 index 4f6e28f..0000000 --- a/debian/postinst.modules.in +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh -# postinst script for omnibook-module-* -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# - -case "$1" in - configure) - - if [ "`uname -r`" = "_KVERS_" ] ; then - depmod -a > /dev/null 2>&1 || true - else - depmod "_KVERS_" > /dev/null 2>&1 || true - fi - - ;; - - abort-upgrade|abort-remove|abort-deconfigure) - - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 - - diff --git a/debian/postrm.modules.in b/debian/postrm.modules.in deleted file mode 100644 index 6bd42a0..0000000 --- a/debian/postrm.modules.in +++ /dev/null @@ -1,48 +0,0 @@ -#! /bin/sh -# postrm script for omnibook-module-* -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' overwrit>r> -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - -case "$1" in - remove|disappear) - - if [ "`uname -r`" = "_KVERS_" ] ; then - depmod -a > /dev/null 2>&1 || true - else - depmod "_KVERS_" > /dev/null 2>&1 || true - - fi - - ;; - - purge|upgrade|failed-upgrade|abort-install|abort-upgrade) - - ;; - - *) - echo "postrm called with unknown argument \`$1'" >&2 - exit 1 - -esac - -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - -#DEBHELPER# - -exit 0 diff --git a/debian/rules b/debian/rules index 6acb98a..b16a7d8 100755 --- a/debian/rules +++ b/debian/rules @@ -122,6 +122,7 @@ binary-modules: kdist_config prep-deb-files dh_installdocs dh_compress + dh_installmodules dh_installchangelogs dh_fixperms dh_installdeb