summarylogtreecommitdiffstats
path: root/ganglia-web.install
blob: 58550df8ff039b773eaf41ede26f00c84329d21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Arg 1: the new package version
post_install() {
  install -d -o http -g http /var/lib/ganglia/{conf,dwoo{,/cache,/compiled}}
  echo -e "Make sure that your php open_basedir includes\n" \
          "/usr/share/webapps and /var/lib/ganglia."
}

# Arg 1: the old package version
post_remove() {
  echo -e "NOTE: Please remove /var/lib/ganglia/{conf,dwoo} manually\n" \
          "if they are no longer required."
}

# vim:set ts=2 sw=2 et: