Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7b9ccda5ef
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (18 sloc) 0.537 kb
#!/bin/sh -e
if [ "$1" = "purge" ] ; then
# rm the rrds if this is the last ganglia package being removed.
if [ ! -f /usr/sbin/gmetad ] ; then
if [ -d /var/lib/ganglia ]; then
# Remove rrd dir
rm -rf /var/lib/ganglia/rrds
fi
# Only remove ganglia user if gmetad isn't installed
if getent passwd ganglia >/dev/null; then
userdel ganglia
fi
if getent group ganglia >/dev/null; then
groupdel ganglia
fi
fi
fi
#DEBHELPER#
Jump to Line
Something went wrong with that request. Please try again.