summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
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