File: glusterfs-common.postrm

package info (click to toggle)
glusterfs 10.3-5
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 44,768 kB
  • sloc: ansic: 480,457; sh: 49,896; python: 12,979; makefile: 1,960; yacc: 487; lisp: 124; lex: 61; xml: 14
file content (21 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (5)
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

case "$1" in
	purge)
		delgroup gluster || true
		userdel gluster || true
		rm -rf /var/log/glusterfs
		rm -rf /var/lib/glusterd
	;;
	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	;;
	*)
		echo "postrm called with unknown argument \`$1'" >&2
		exit 1
esac

#DEBHELPER#

exit 0