[Pkg-dkms-commits] [SCM] Maintainance of the dkms package branch, master, updated. debian/2.0.20.4-1-10-gd0a6481
Giuseppe Iuculano
giuseppe at iuculano.it
Mon Feb 16 10:07:36 UTC 2009
The following commit has been merged in the master branch:
commit 6ebb0c414d8d5db63883301c167198fb9a515322
Author: Giuseppe Iuculano <giuseppe at iuculano.it>
Date: Mon Feb 16 11:05:54 2009 +0100
Removed debian/postinst and debian/prerm
diff --git a/debian/postinst b/debian/postinst
deleted file mode 100644
index efc62ea..0000000
--- a/debian/postinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# postinst script for dkms
-#
-# see: dh_installdeb(1)
-
-set -e
-
-case "$1" in
- configure)
- kconf="/etc/kernel-img.conf"
- hookline="header_postinst_hook = /etc/kernel/postinst.d/dkms"
-
- if [ -e $kconf ]; then
- if ! grep -q "$hookline" "$kconf" ; then
- echo "$hookline" >> $kconf
- fi
- fi
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/prerm b/debian/prerm
deleted file mode 100644
index be7c002..0000000
--- a/debian/prerm
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-set -e
-
-kconf="/etc/kernel-img.conf"
-hookline="header_postinst_hook = /etc/kernel/postinst.d/dkms"
-
-if [ -e $kconf ]; then
- if grep -q "$hookline" "$kconf" ; then
- sed -i "\@$hookline at d" "$kconf"
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
--
Maintainance of the dkms package
More information about the Pkg-dkms-commits
mailing list