r414 - in /debtorrent/trunk/debian: changelog postrm

camrdale at users.alioth.debian.org camrdale at users.alioth.debian.org
Wed Sep 9 06:16:54 UTC 2009


Author: camrdale
Date: Wed Sep  9 06:16:53 2009
New Revision: 414

URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=414
Log:
Fix piuparts uninstallation failure

Modified:
    debtorrent/trunk/debian/changelog
    debtorrent/trunk/debian/postrm

Modified: debtorrent/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debian/changelog?rev=414&op=diff
==============================================================================
--- debtorrent/trunk/debian/changelog (original)
+++ debtorrent/trunk/debian/changelog Wed Sep  9 06:16:53 2009
@@ -3,8 +3,9 @@
   * Prevent symlink attack when upgrading from pre 0.1.6 (Closes: #500180)
   * Add a status verb to init.d scripts (Closes: #498606)
   * Fix exception when server doesn't return modified time (Closes: #515753)
+  * Fix piuparts uninstallation failure
 
- -- Cameron Dale <camrdale at gmail.com>  Tue, 08 Sep 2009 22:55:34 -0700
+ -- Cameron Dale <camrdale at gmail.com>  Tue, 08 Sep 2009 23:16:21 -0700
 
 debtorrent (0.1.9) unstable; urgency=low
 

Modified: debtorrent/trunk/debian/postrm
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debian/postrm?rev=414&op=diff
==============================================================================
--- debtorrent/trunk/debian/postrm (original)
+++ debtorrent/trunk/debian/postrm Wed Sep  9 06:16:53 2009
@@ -21,8 +21,10 @@
   # Don't remove the logs
   #rm -rf /var/log/debtorrent
   # Instead convert to root
-  chown -R root:adm /var/log/debtorrent
-  chmod -R 755 /var/log/debtorrent
+  if [ -d /var/log/debtorrent ] ; then
+    chown -R root:adm /var/log/debtorrent
+    chmod -R 755 /var/log/debtorrent
+  fi
   
   echo Purging debtorrent cache directory
   rm -rf /var/cache/debtorrent




More information about the Debtorrent-commits mailing list