summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d9ba31a)
raw | patch | inline | side by side (parent: d9ba31a)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 29 Apr 2007 20:06:22 +0000 (22:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 29 Apr 2007 20:06:22 +0000 (22:06 +0200) |
debian/collectd.postinst | patch | blob | history |
index d34dee4a7544fc428b13da799d121c569c0c1a3a..6a2357fc26fc8a2bf70d1aba356f29ec8ae1b150 100755 (executable)
--- a/debian/collectd.postinst
+++ b/debian/collectd.postinst
if [ "$RET" = "true" ]; then
cp -a /var/lib/collectd/ /var/backups/collectd-"$2"
/usr/lib/collectd/utils/migrate-3-4.px | bash
+ rm -rf /var/lib/collectd/
+ mv /tmp/collectd-4/ /var/lib/collectd/
fi
;;