lintian jenkins integration ftw \o/ Addresses https://jenkins.mgm.sipwise.com/job/rate-o-mat-binaries/architecture=amd64,label=cowbuilder/82/ From: Michael Prokop <mprokop@sipwise.com>1.3
parent
78350f2b7e
commit
4e5cea1a23
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# postrm script for ngcp-rate-o-mat
|
||||
|
||||
set -e
|
||||
|
||||
removal_wrapper() {
|
||||
# remove the init script only on ce systems, as the
|
||||
# the pro system handle it inside the monitoring/HA setup
|
||||
if ! [ -x "$(which ngcp-check_active 2>/dev/null)" ]; then
|
||||
update-rc.d ngcp-rate-o-mat remove >/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
if [ "$1" = "purge" ] ; then
|
||||
removal_wrapper
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Loading…
Reference in new issue