File: postrm

package info (click to toggle)
motion 3.2.12-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,152 kB
  • ctags: 1,688
  • sloc: ansic: 16,212; sh: 345; makefile: 209
file content (26 lines) | stat: -rw-r--r-- 294 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

set -e

case "$1" in
       
	purge)

		rm -rf /etc/motion
		userdel motion || true
	;;

	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

        ;;

    *)

        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

#DEBHELPER#

exit 0