Last change
on this file since 896 was
896,
checked in by ramonb, 10 years ago
|
debian/control:
debian/*.postinst:
- (de)configure is actually called on upgrade
- changed upgrade logic to check if $2 is empty
debian/jobmonarch-webfrontend.prerm:
- only print warning upon removal
debian/jobmonarch-jobmond.prerm, debian/jobmonarch-jobarchived.prerm:
- only disable runlevel symlinks on removal
|
-
Property svn:executable set to
*
|
File size:
337 bytes
|
Rev | Line | |
---|
[846] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | PATH=/bin:/sbin:/usr/bin:/usr/sbin |
---|
| 4 | |
---|
[869] | 5 | set -e |
---|
[846] | 6 | |
---|
[869] | 7 | case "$1" in |
---|
[896] | 8 | deconfigure) |
---|
| 9 | /etc/init.d/jobarchived stop || true |
---|
| 10 | ;; |
---|
| 11 | remove) |
---|
[869] | 12 | # Only on removal (not during upgrade) |
---|
| 13 | /etc/init.d/jobarchived stop || true |
---|
| 14 | update-rc.d -f jobarchived remove || true |
---|
| 15 | ;; |
---|
| 16 | *) |
---|
| 17 | ;; |
---|
| 18 | esac |
---|
| 19 | |
---|
[846] | 20 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.