[Debian-live-changes] r1790 - configs/daniel-desktop/config/chroot_local-includes/usr/local/bin

daniel at alioth.debian.org daniel at alioth.debian.org
Sun May 27 10:10:02 UTC 2007


Author: daniel
Date: 2007-05-27 10:10:02 +0000 (Sun, 27 May 2007)
New Revision: 1790

Modified:
   configs/daniel-desktop/config/chroot_local-includes/usr/local/bin/dputs
Log:


Modified: configs/daniel-desktop/config/chroot_local-includes/usr/local/bin/dputs
===================================================================
--- configs/daniel-desktop/config/chroot_local-includes/usr/local/bin/dputs	2007-05-27 09:24:17 UTC (rev 1789)
+++ configs/daniel-desktop/config/chroot_local-includes/usr/local/bin/dputs	2007-05-27 10:10:02 UTC (rev 1790)
@@ -17,8 +17,9 @@
 fi
 
 # Check configuration
-if [ ! -r ~/.dput.cf ] || [ "${1}" = "config" ]
+if [ ! -f ~/.dput.cf ] || [ "${1}" = "config" ]
 then
+
 cat >> ~/.dput.cf << EOF
 [backports]
 fqdn = www.backports.org
@@ -32,6 +33,7 @@
 method = ftp
 login = anonymous
 EOF
+
 exit 0
 fi
 




More information about the Debian-live-changes mailing list