From a89c81a678d8b4eedaca858bf747d6b363d6e8eb Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 29 Apr 2007 22:06:22 +0200 Subject: [PATCH] collectd.postinst: Move /tmp/collectd-4 to /var/lib/collectd. --- debian/collectd.postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/collectd.postinst b/debian/collectd.postinst index d34dee4..6a2357f 100755 --- a/debian/collectd.postinst +++ b/debian/collectd.postinst @@ -25,6 +25,8 @@ case "$1" in 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 ;; -- 2.30.2