File: glusterfs-server.postinst

package info (click to toggle)
glusterfs 3.2.7-3%2Bdeb7u1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 16,884 kB
  • sloc: ansic: 195,466; sh: 9,573; python: 1,564; makefile: 587; yacc: 471; lisp: 124; lex: 69
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