summaryrefslogtreecommitdiffstats
path: root/abs/core/module-init-tools
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-23 21:50:11 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-23 21:50:11 (GMT)
commit1c0995cda53f8919a58723212a697604c0235df2 (patch)
tree32357771523fee12c533b9013a1cd146732a34fc /abs/core/module-init-tools
parentac16d6df26ed3ffd2d67d998beab17c2fa7a8707 (diff)
downloadlinhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.zip
linhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.tar.gz
linhes_pkgbuild-1c0995cda53f8919a58723212a697604c0235df2.tar.bz2
module-init-tools: Recompile with install script that mv's /etc/modprobe.conf if it exists.
Diffstat (limited to 'abs/core/module-init-tools')
-rw-r--r--abs/core/module-init-tools/PKGBUILD3
-rw-r--r--abs/core/module-init-tools/module-init-tools.install6
2 files changed, 8 insertions, 1 deletions
diff --git a/abs/core/module-init-tools/PKGBUILD b/abs/core/module-init-tools/PKGBUILD
index a59ee80..60dc364 100644
--- a/abs/core/module-init-tools/PKGBUILD
+++ b/abs/core/module-init-tools/PKGBUILD
@@ -4,12 +4,13 @@
pkgname=module-init-tools
pkgver=3.12
-pkgrel=1
+pkgrel=2
pkgdesc="utilities needed by Linux systems for managing loadable kernel modules"
arch=('i686' 'x86_64')
url="http://kerneltools.org"
license=('GPL')
depends=('glibc')
+install=module-init-tools.install
backup=('etc/modprobe.d/modprobe.conf')
source=(http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/module-init-tools-$pkgver.tar.bz2
modprobe.conf)
diff --git a/abs/core/module-init-tools/module-init-tools.install b/abs/core/module-init-tools/module-init-tools.install
new file mode 100644
index 0000000..eedb63b
--- /dev/null
+++ b/abs/core/module-init-tools/module-init-tools.install
@@ -0,0 +1,6 @@
+pre_upgrade() {
+ if [ -f /etc/modprobe.conf ]
+ then
+ mv /etc/modprobe.conf /etc/modprobe.d/modprobe.conf
+ done
+}