From: Sebastian Harl Date: Fri, 29 Jun 2012 20:18:03 +0000 (+0200) Subject: collectd-core.postinst: Don't create unused temp. directory. X-Git-Tag: collectd-5.1.0-2~16 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=453ce9d2cb2be2e082b734b1b24401740e341989;p=pkg-collectd.git collectd-core.postinst: Don't create unused temp. directory. --- diff --git a/debian/changelog b/debian/changelog index e85300d..7aa7c6f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +collectd (5.1.0-2) UNRELEASED; urgency=low + + * debian/collectd-core.postinst: + - Don't create unused temp. directory. + + -- Sebastian Harl Fri, 29 Jun 2012 22:17:27 +0200 + collectd (5.1.0-1) unstable; urgency=low * New upstream release (Closes: #630968): diff --git a/debian/collectd-core.postinst b/debian/collectd-core.postinst index 0517d15..78dc785 100755 --- a/debian/collectd-core.postinst +++ b/debian/collectd-core.postinst @@ -43,8 +43,6 @@ case "$1" in db_get collectd/auto-migrate-4-5 if [ "$RET" = "true" ]; then - tmpdir=`mktemp -dt collectd.XXXXXXXXXX` - cp -a /var/lib/collectd/ /var/backups/collectd-"$2" /usr/lib/collectd/utils/migrate-4-5.px \ -indir /var/lib/collectd/rrd/ | bash