summaryrefslogtreecommitdiff
path: root/autoscripts
diff options
context:
space:
mode:
authorjoey <joey>2003-07-19 14:57:55 +0000
committerjoey <joey>2003-07-19 14:57:55 +0000
commit34ed74aef9d9c42de391dea7387884359d439f57 (patch)
tree85e47eacae24fbdc83d52f8deb14d68c2b99f08e /autoscripts
parent80911f2bcbc7d1854dc7b0fe75c74e1b62503ae9 (diff)
downloaddebhelper-34ed74aef9d9c42de391dea7387884359d439f57.tar.gz
r597: * dh_scrollkeeper: fix postrm to not run if scrollkeeper is not present
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postrm-scrollkeeper2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscripts/postrm-scrollkeeper b/autoscripts/postrm-scrollkeeper
index 209a6e14..47b71544 100644
--- a/autoscripts/postrm-scrollkeeper
+++ b/autoscripts/postrm-scrollkeeper
@@ -1,3 +1,3 @@
-if [ "$1" = "remove" ]; then
+if [ "$1" = "remove" ] && which scrollkeeper-update >/dev/null 2>&1; then
scrollkeeper-update -q
fi