source:
trunk/packages/xen-common/xen-common/debian/xen-utils-common.postrm
@
77
| Last change on this file since 77 was 34, checked in by hartmans, 18 years ago | |
|---|---|
| File size: 402 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | case "$1" in |
| 6 | purge) |
| 7 | # Remove udev rules symlink |
| 8 | L="/etc/udev/rules.d/z60_xen-backend.rules" |
| 9 | [ -L "$L" ] && rm "$L" |
| 10 | |
| 11 | XENSTORED_DIR="/var/lib/xenstored" |
| 12 | [ -d "${XENSTORED_DIR}" ] && rm -r "${XENSTORED_DIR}" |
| 13 | ;; |
| 14 | |
| 15 | remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
| 16 | ;; |
| 17 | |
| 18 | *) |
| 19 | echo "postrm called with unknown argument \`$1'" >&2 |
| 20 | exit |
| 21 | ;; |
| 22 | esac |
| 23 | |
| 24 | #DEBHELPER# |
| 25 | |
| 26 | exit 0 |
Note: See TracBrowser
for help on using the repository browser.
