Last change
on this file since 928 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:
325 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | PATH=/bin:/sbin:/usr/bin:/usr/sbin |
---|
4 | |
---|
5 | set -e |
---|
6 | |
---|
7 | case "$1" in |
---|
8 | deconfigure) |
---|
9 | /etc/init.d/jobmond stop || true |
---|
10 | ;; |
---|
11 | remove) |
---|
12 | # Only on removal (not during upgrade) |
---|
13 | /etc/init.d/jobmond stop || true |
---|
14 | update-rc.d -f jobmond remove || true |
---|
15 | ;; |
---|
16 | *) |
---|
17 | ;; |
---|
18 | esac |
---|
19 | |
---|
20 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.