summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-20 22:47:24 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-20 22:47:24 -0400
commit34172d87ef01b4c015f66b06d5088ae7d1d2d0b9 (patch)
tree4397b040cd1aa4baca2d83eb54a0b9dd6d4bf0f4 /debian/postinst
parent2f07cc06c5abba1a3f43f28b9fb87d36515196e5 (diff)
transition code
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 7cd4573..e4fb0b3 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -59,4 +59,10 @@ configure)
done
fi
+ if dpkg --compare-versions "$2" le "0.13"; then
+ mv_conffile "/etc/etckeeper/init.d/10restore-etckeeper" \
+ "/etc/etckeeper/init.d/20restore-etckeeper"
+ mv_conffile "/etc/etckeeper/init.d/20restore-metadata" \
+ "/etc/etckeeper/init.d/10restore-metadata"
+ fi
esac