| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | case "$1" in |
| 6 | remove) |
| 7 | # Remove the files that install-menu created: |
| 8 | if [ -d /var/lib/flwm/wmx ]; then |
| 9 | rm -rf /var/lib/flwm/wmx |
| 10 | fi |
| 11 | inst=/etc/menu-methods/flwm |
| 12 | |
| 13 | if [ -f "$inst" ]; then |
| 14 | chmod a-x $inst |
| 15 | fi |
| 16 | ;; |
| 17 | purge|upgrade);; |
| 18 | *) |
| 19 | echo "postrm called with unknown argument \`$1'" >&2 |
| 20 | exit 0 |
| 21 | ;; |
| 22 | esac |
| 23 | |
| 24 | #DEBHELPER# |
| 25 | |
| 26 | exit 0 |