root/trunk/pdns/debian/prerm
@
48
| Revision 48, 191 bytes (checked in by ahu, 11 years ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | update_docbase() { |
| 6 | if command -v install-docs >/dev/null 2>&1 ; then |
| 7 | install-docs -r pdns |
| 8 | fi |
| 9 | } |
| 10 | |
| 11 | if [ "$1" = "remove" ] ; then |
| 12 | update_docbase |
| 13 | /etc/init.d/pdns stop |
| 14 | fi |
Note: See TracBrowser
for help on using the browser.