Re: Unblock request: backupninja 0.9.6-4

2008-12-09 Thread Adeodato Simó
* Micah Anderson [Mon, 08 Dec 2008 10:13:35 -0500]:


 Hello!

 Please consider unblocking backupninja 0.9.6-4, it has some trivial
 fixes that would be nice if they were included in Lenny:

   * Fix df error message from cron (Closes: #497535)
   * Removed Lenny unsupported desturl example (Closes: #507679)
   * Fixed Lintain warning: maintainer-script-ignores-errors preinst

Unblocked.

-- 
Adeodato Simó dato at net.com.org.es
Debian Developer  adeodato at debian.org
 
Debugging is twice as hard as writing the code in the first place. Therefore,
if you write the code as cleverly as possible, you are, by definition, not
smart enough to debug it.
-- Brian W. Kernighan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Unblock request: backupninja 0.9.6-4

2008-12-08 Thread Micah Anderson

Hello!

Please consider unblocking backupninja 0.9.6-4, it has some trivial
fixes that would be nice if they were included in Lenny:

  * Fix df error message from cron (Closes: #497535)
  * Removed Lenny unsupported desturl example (Closes: #507679)
  * Fixed Lintain warning: maintainer-script-ignores-errors preinst

As you can see, from the below diff, the changes are quite small:

Index: debian/changelog
===
--- debian/changelog(revision 622)
+++ debian/changelog(revision 626)
@@ -1,3 +1,11 @@
+backupninja (0.9.6-4) unstable; urgency=low
+
+  * Fix df error message from cron (Closes: #497535)
+  * Removed Lenny unsupported desturl example (Closes: #507679)
+  * Fixed Lintain warning: maintainer-script-ignores-errors preinst
+  
+ -- Micah Anderson [EMAIL PROTECTED]  Mon, 08 Dec 2008 09:41:22 -0500
+
 backupninja (0.9.6-3) unstable; urgency=low
 
   * Removed configure.ac and regenerate the autoconf junk so 
Index: debian/backupninja.preinst
===
--- debian/backupninja.preinst  (revision 622)
+++ debian/backupninja.preinst  (revision 626)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 
 # Remove the erroneous /etc/logrotate.d/backupninja directory if it
 exists
 
Index: src/backupninja.in
===
--- src/backupninja.in  (revision 622)
+++ src/backupninja.in  (revision 626)
@@ -561,7 +561,7 @@
 previous=
for i in $(ls $configdirectory); do
  backuploc=$(grep ^directory
  $configdirectory/$i | @AWK@
  '{print $3}')
-   if [ $backuploc !=
$previous ]; then
+if [ $backuploc != $previous -a -n
$backuploc ]; then
df -h $backuploc
previous=$backuploc
fi
Index: examples/example.dup
===
--- examples/example.dup(revision 622)
+++ examples/example.dup(revision 626)
@@ -120,12 +120,6 @@
 #keep = 60
 #keep = yes
 
-# full destination URL, in duplicity format; if set, desturl overrides
-# sshoptions, destdir, desthost and destuser; it also disables
-# testconnect and
-# bandwithlimit. For details, see duplicity manpage, section URL
-# FORMAT.
-#desturl = file:///usr/local/backup
-#desturl = rsync://[EMAIL PROTECTED]//var/backup/bla
-
 # bandwith limit, in kbit/s ; default is 0, i.e. no limit
 #bandwidthlimit = 128


signature.asc
Description: Digital signature