File: python-swift.postrm

package info (click to toggle)
swift 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 6,948 kB
  • sloc: python: 91,496; sh: 618; makefile: 48
file content (20 lines) | stat: -rw-r--r-- 673 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh                                                                                                                                 

set -e

case "$1" in
    purge)
        # Remove swift user if possible                                                                                                    
        userdel swift || true
    ;;
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;
    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

#DEBHELPER#                                                                                                                                

exit 0