summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/preinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/preinst b/debian/preinst
index 80ed595..b4495fe 100644
--- a/debian/preinst
+++ b/debian/preinst
@@ -64,4 +64,9 @@ install|upgrade)
prep_mv_conffile etckeeper "/etc/etckeeper/init.d/$c"
done
fi
+ if dpkg --compare-versions "$2" le "0.15"; then
+ for c in 40bzr-rm 45bzr-precommit; do
+ rm_conffile etckeeper "/etc/etckeeper/commit.d/$c"
+ done
+ fi
esac