File: python-swift.postrm

package info (click to toggle)
swift 2.10.2-1~deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 11,716 kB
  • ctags: 11,366
  • sloc: python: 143,645; sh: 617; pascal: 243; makefile: 71; xml: 30
file content (14 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (6)
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