summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index ef872b3..7cd4573 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -52,4 +52,11 @@ configure)
mv_conffile "/etc/etckeeper/init.d/70git-add" \
"/etc/etckeeper/init.d/70git-add"
fi
+ if dpkg --compare-versions "$2" le "0.10"; then
+ for c in 10vcs-test 30git-add 30hg-addremove 40git-rm; do
+ mv_conffile "/etc/etckeeper/post-install.d/$c" \
+ "/etc/etckeeper/commit.d/$c"
+
+ done
+ fi
esac