[Pkg-xfce-commits] r5695 - scripts

Evgeni Golov evgeni at alioth.debian.org
Tue Apr 26 07:23:12 UTC 2011


Author: evgeni
Date: 2011-04-26 07:23:04 +0000 (Tue, 26 Apr 2011)
New Revision: 5695

Modified:
   scripts/get-sources.sh
Log:
fail on missing tarballs dir

Modified: scripts/get-sources.sh
===================================================================
--- scripts/get-sources.sh	2011-04-25 10:48:41 UTC (rev 5694)
+++ scripts/get-sources.sh	2011-04-26 07:23:04 UTC (rev 5695)
@@ -19,6 +19,12 @@
 		echo "Package $pkg doesn't exist in repository" >&2
 		return
 	fi
+
+	if [ ! -d "$DIR/tarballs" ];
+	then
+		echo "No tarballs dir ($DIR/tarballs) found." >&2
+		return
+	fi
 	
 	echo "Downloading $pkg"
 	




More information about the Pkg-xfce-commits mailing list