File: munin-plugins-core.postrm

package info (click to toggle)
munin 2.999.16-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,116 kB
  • sloc: perl: 31,379; sh: 13,074; javascript: 8,977; java: 1,924; python: 853; makefile: 354; ruby: 232; awk: 169; xml: 45; sql: 11
file content (11 lines) | stat: -rw-r--r-- 226 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

set -e

if [ "$1" = "purge" ]; then
	# The state files are created by plugins and they must be removed for a
	# clean purge of the plugin-state directory.
	rm -rf /var/lib/munin-node/plugin-state/*
fi

#DEBHELPER#