diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:53:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-09 12:53:53 +0000 |
commit | 90169463f86997737ed5b9c0ea2b311cd3b056b7 (patch) | |
tree | 281a0f8d9850ea58cf2a3ddb8bf087fb52520925 /autoscripts/postrm-init | |
parent | Initial commit. (diff) | |
download | debhelper-90169463f86997737ed5b9c0ea2b311cd3b056b7.tar.xz debhelper-90169463f86997737ed5b9c0ea2b311cd3b056b7.zip |
Adding upstream version 13.15.3.upstream/13.15.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autoscripts/postrm-init')
-rw-r--r-- | autoscripts/postrm-init | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init new file mode 100644 index 0000000..6b81341 --- /dev/null +++ b/autoscripts/postrm-init @@ -0,0 +1,6 @@ +if [ "$1" = "remove" ] && [ -x "/etc/init.d/#SCRIPT#" ] ; then + chmod -x "/etc/init.d/#SCRIPT#" >/dev/null || true +fi +if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then + update-rc.d #SCRIPT# remove >/dev/null +fi |