Code

collectd-core.postinst: Don't create unused temp. directory.
authorSebastian Harl <sh@tokkee.org>
Fri, 29 Jun 2012 20:18:03 +0000 (22:18 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 29 Jun 2012 20:18:03 +0000 (22:18 +0200)
debian/changelog
debian/collectd-core.postinst

index e85300d730a0f998290e239c6bf7d1469582cf20..7aa7c6f16bada868ef83ff369bd80235928c70f3 100644 (file)
@@ -1,3 +1,10 @@
+collectd (5.1.0-2) UNRELEASED; urgency=low
+
+  * debian/collectd-core.postinst:
+    - Don't create unused temp. directory.
+
+ -- Sebastian Harl <tokkee@debian.org>  Fri, 29 Jun 2012 22:17:27 +0200
+
 collectd (5.1.0-1) unstable; urgency=low
 
   * New upstream release (Closes: #630968):
index 0517d15e8bcba36ffe5bbae52863dfd16021d03f..78dc785498893aa7d0966c0cb0c8f68c022bdd7d 100755 (executable)
@@ -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