]> Devoid-pointer.net GitWeb - omnibook.git/commitdiff
[DEB] Calls dh_installmodules for maintainance scripts
authorJulien Valroff <julien@kirya.net>
Sat, 12 Aug 2006 17:24:39 +0000 (17:24 +0000)
committerJulien Valroff <julien@kirya.net>
Sat, 12 Aug 2006 17:24:39 +0000 (17:24 +0000)
debian/changelog
debian/postinst.modules.in [deleted file]
debian/postrm.modules.in [deleted file]
debian/rules

index 367c7e28ee771ba0f276688608be7c72cf8c6c25..a0b85e749a5e65e990fafc19fa48b65691a78e60 100644 (file)
@@ -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 <julien@kirya.net>  Sat, 12 Aug 2006 11:56:39 +0200
 
diff --git a/debian/postinst.modules.in b/debian/postinst.modules.in
deleted file mode 100644 (file)
index 4f6e28f..0000000
+++ /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:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# 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 (file)
index 6bd42a0..0000000
+++ /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:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
-# 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
index 6acb98a90aa91fcc189f45ecf13e4e9f74d4362c..b16a7d81ec28018b100875b2ec494e84b52a0c9a 100755 (executable)
@@ -122,6 +122,7 @@ binary-modules: kdist_config prep-deb-files
 
        dh_installdocs
        dh_compress
+       dh_installmodules
        dh_installchangelogs
        dh_fixperms
        dh_installdeb