File: munin-plugins-core.postrm

package info (click to toggle)
munin 2.999.14-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 10,036 kB
  • sloc: perl: 31,052; sh: 12,473; java: 1,924; python: 852; makefile: 336; 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#