File: munin-async.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 (21 lines) | stat: -rw-r--r-- 214 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh

set -e

prevver="$2"

del_munin_async_user() {
	if getent passwd munin-async >/dev/null; then
		userdel -r munin-async
	fi
}

case "$1" in
	purge)
		del_munin_async_user
		;;
	*)
		;;
esac

#DEBHELPER#