summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-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
+}