debian/postrm
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | CONSTANTS_FILE="${DPKG_ROOT:-}/usr/share/nodejs/constants-browserify/constants.json" |
| 6 | |
| 7 | case "$1" in |
| 8 | remove) |
| 9 | rm -f "$CONSTANTS_FILE" |
| 10 | ;; |
| 11 | purge|upgrade|failed-upgrade|abort-upgrade|abort-install) |
| 12 | ;; |
| 13 | *) |
| 14 | echo "postrm called with unknown argument \`$1'" >&2 |
| 15 | exit 1 |
| 16 | ;; |
| 17 | esac |
| 18 | |
| 19 | |
| 20 | #DEBHELPER# |
| 21 | |
| 22 | exit 0 |