Last change
on this file since 886 was
869,
checked in by olahaye, 10 years ago
|
[debian:packaging] Prevent services to be stopped upon upgrade.
|
-
Property svn:executable set to
*
|
File size:
268 bytes
|
Rev | Line | |
---|
[846] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | PATH=/bin:/sbin:/usr/bin:/usr/sbin |
---|
| 4 | |
---|
[869] | 5 | set -e |
---|
| 6 | |
---|
| 7 | case "$1" in |
---|
| 8 | remove|deconfigure) |
---|
| 9 | # Only on removal (not during upgrade) |
---|
| 10 | /etc/init.d/jobmond stop || true |
---|
| 11 | update-rc.d -f jobmond remove || true |
---|
| 12 | ;; |
---|
| 13 | *) |
---|
| 14 | ;; |
---|
| 15 | esac |
---|
| 16 | |
---|
| 17 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.