diff options
author | Florian Pritz <f-p@gmx.at> | 2009-02-28 14:36:14 +0100 |
---|---|---|
committer | Florian Pritz <f-p@gmx.at> | 2009-02-28 14:36:14 +0100 |
commit | 3232f9d90114778cb8d38cc1bc8477435dc65259 (patch) | |
tree | 0eb9ffafbe853c84b9ad6b808d86a00d44668392 /portbunny/portbunny.install | |
download | aur-packages-3232f9d90114778cb8d38cc1bc8477435dc65259.tar.gz aur-packages-3232f9d90114778cb8d38cc1bc8477435dc65259.tar.xz |
initial commit
Diffstat (limited to 'portbunny/portbunny.install')
-rw-r--r-- | portbunny/portbunny.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/portbunny/portbunny.install b/portbunny/portbunny.install new file mode 100644 index 0000000..f923755 --- /dev/null +++ b/portbunny/portbunny.install @@ -0,0 +1,20 @@ +# arg 1: the new package version +post_install() { + /sbin/depmod -a +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + /sbin/depmod -a +} + +post_remove() { + /sbin/depmod -a +} + +op=$1 +shift +[ "$(type -t "$op")" = "function" ] && $op "$@" + +# vim:set ts=2 sw=2 et: |