File: glusterfs-common.postinst

package info (click to toggle)
glusterfs 3.8.8-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 47,392 kB
  • ctags: 34,831
  • sloc: ansic: 436,110; sh: 34,441; python: 12,000; makefile: 1,595; yacc: 484; lisp: 124; lex: 67; xml: 13
file content (23 lines) | stat: -rw-r--r-- 300 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
22
23
#!/bin/sh

set -e

case "$1" in
	configure)
		mkdir -p /var/log/glusterfs
		chown root:root /var/log/glusterfs
		chmod 0755 /var/log/glusterfs
	;;

	abort-upgrade|abort-remove|abort-deconfigure)
	;;

	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 1
	;;
esac

#DEBHELPER#

exit 0