summarylogtreecommitdiffstats
path: root/ganglia-web.install
diff options
context:
space:
mode:
authorTyler Langlois2015-08-26 21:30:25 -0400
committerTyler Langlois2015-08-26 21:30:25 -0400
commit8c1c423ac4fb800c0d95dbdb5c1356642f89cf93 (patch)
treee3c636af57311a819e9bb4af207e05ed9ff87d3c /ganglia-web.install
downloadaur-8c1c423ac4fb800c0d95dbdb5c1356642f89cf93.tar.gz
Bring ganglia-web to AUR4
Derived from https://github.com/aur-archive/ganglia-web
Diffstat (limited to 'ganglia-web.install')
-rw-r--r--ganglia-web.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/ganglia-web.install b/ganglia-web.install
new file mode 100644
index 000000000000..a1c7c27aa9fb
--- /dev/null
+++ b/ganglia-web.install
@@ -0,0 +1,14 @@
+# Arg 1: the new package version
+post_install() {
+ install -d -o http -g http /var/lib/ganglia/{conf,dwoo{,/cache,/compiled}}
+ echo "Make sure that your php open_basedir includes /usr/share/webapps" \
+ "and /var/lib/ganglia."
+}
+
+# Arg 1: the old package version
+post_remove() {
+ echo "NOTE: Please remove /var/lib/ganglia/{conf,dwoo} manually if they" \
+ "are no longer required."
+}
+
+# vim:set ts=2 sw=2 et: