File: python-swift.postrm

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 (14 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

if [ "${1}" = "purge" ] ; then
	for i in lock log run lib cache backups ; do
		rm -rf /var/$i/swift
	done
	rm -rf /etc/swift
fi

#DEBHELPER#

exit 0