File: python-swift.postinst.in

package info (click to toggle)
swift 2.19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 16,768 kB
  • sloc: python: 197,574; sh: 636; pascal: 253; makefile: 69; xml: 32
file content (17 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

#PKGOS-INCLUDE#

if [ "$1" = "configure" ] || [ "$1" = "reconfigure" ] ; then
	pkgos_var_user_group swift

	mkdir -p /var/backups/swift
	chown swift:swift /var/backups/swift
	chmod 2770 /var/backups/swift
fi

#DEBHELPER#

exit 0