File: postrm

package info (click to toggle)
ntfs-config 1.0.1-9
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,600 kB
  • ctags: 331
  • sloc: sh: 3,297; python: 2,685; makefile: 84
file content (28 lines) | stat: -rw-r--r-- 505 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
27
28
#!/bin/sh
# postrm script for ntfs-config

set -e

case "$1" in
    purge|remove)  
    # Remove any fdi rule that could have been created by the program
    echo "Removing configuration files created by the program..."
    rm -f /etc/hal/fdi/policy/20-ntfs-config-write-policy.fdi
    rm -f /etc/hal/fdi/policy/20-ntfs-config-ro-policy.fdi 
    ;;

    failed-upgrade|upgrade)
    ;;


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

#DEBHELPER#

exit 0