summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/athcool/athcool.install
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-20 08:29:13 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-20 08:29:13 (GMT)
commit7d9fb00267ecfde5f88448ca2184299ab6594bb2 (patch)
treecb6bbc6d73879612c7aeae7a6c5093ca9693a3ee /abs/extra-testing/community/athcool/athcool.install
parent25373fd6dc5bdbe7c5ac89a4e840f88f3923ed69 (diff)
downloadlinhes_pkgbuild-7d9fb00267ecfde5f88448ca2184299ab6594bb2.zip
linhes_pkgbuild-7d9fb00267ecfde5f88448ca2184299ab6594bb2.tar.gz
linhes_pkgbuild-7d9fb00267ecfde5f88448ca2184299ab6594bb2.tar.bz2
Added run for runit.
Diffstat (limited to 'abs/extra-testing/community/athcool/athcool.install')
-rw-r--r--abs/extra-testing/community/athcool/athcool.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/abs/extra-testing/community/athcool/athcool.install b/abs/extra-testing/community/athcool/athcool.install
new file mode 100644
index 0000000..8896da2
--- /dev/null
+++ b/abs/extra-testing/community/athcool/athcool.install
@@ -0,0 +1,18 @@
+# arg 1: the new package version
+post_install() {
+ add_service.sh athcool
+}
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ remove_service.sh athcool
+}
+
+op=$1
+shift
+$op $*