From 3232f9d90114778cb8d38cc1bc8477435dc65259 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 28 Feb 2009 14:36:14 +0100 Subject: initial commit --- portbunny/portbunny.install | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 portbunny/portbunny.install (limited to 'portbunny/portbunny.install') 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: -- cgit v1.2.3-24-g4f1b