diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-03-08 00:03:01 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-03-08 00:03:01 (GMT) |
commit | 1d197919d5899c4a133e609116fec381157bc870 (patch) | |
tree | cabb39e7ec0575acca670101339cf4d6c90f6bec /abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install | |
parent | 028e57e8aa48ea8496e5506b2a2c47d25fa5085d (diff) | |
download | linhes_pkgbuild-1d197919d5899c4a133e609116fec381157bc870.zip linhes_pkgbuild-1d197919d5899c4a133e609116fec381157bc870.tar.gz linhes_pkgbuild-1d197919d5899c4a133e609116fec381157bc870.tar.bz2 |
For Britney.
Diffstat (limited to 'abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install')
-rw-r--r-- | abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install b/abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install new file mode 100644 index 0000000..c87bb82 --- /dev/null +++ b/abs/extra-testing/v4l-dvb-dvico2/v4l-dvb.install @@ -0,0 +1,23 @@ +# arg 1: the new package version +post_install() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 + +} + +# arg 1: the old package version +post_remove() { + KERNEL_VERSION='2.6.26-ARCH' + depmod -ae -v $KERNEL_VERSION > /dev/null 2>&1 +} + +op=$1 +shift +$op $* |