summaryrefslogtreecommitdiff
path: root/debian/sane-utils.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sane-utils.postrm')
-rw-r--r--debian/sane-utils.postrm7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/sane-utils.postrm b/debian/sane-utils.postrm
index 288b511..275eee6 100644
--- a/debian/sane-utils.postrm
+++ b/debian/sane-utils.postrm
@@ -44,6 +44,13 @@ if [ "$1" = purge ] ; then
if [ -d /var/lib/systemd/deb-systemd-helper-masked ]; then
rmdir --ignore-fail-on-non-empty /var/lib/systemd/deb-systemd-helper-masked
fi
+#
+# remove pid file
+#
+ if [ -f /var/run/saned.pid ]; then
+ rm -f /var/run/saned.pid
+ fi
+
fi