[Pkg-xfce-commits] r3118 - scripts

Yves-Alexis Perez corsac at alioth.debian.org
Sun Apr 19 10:34:17 UTC 2009


Author: corsac
Date: 2009-04-19 10:34:17 +0000 (Sun, 19 Apr 2009)
New Revision: 3118

Modified:
   scripts/get-sources.pl
Log:
be a bit less verbose and clean .tar file in case of .bz2 compression


Modified: scripts/get-sources.pl
===================================================================
--- scripts/get-sources.pl	2009-04-19 10:26:55 UTC (rev 3117)
+++ scripts/get-sources.pl	2009-04-19 10:34:17 UTC (rev 3118)
@@ -75,7 +75,7 @@
 
 		$decompressed_filename =~ s/tar.bz2/tar/;
 		
-		$wget_command = "cd $tarballs_dir && wget $tarball && bunzip2 $filename && gzip -9 $decompressed_filename && mv $decompressed_filename.gz $debian_filename";
+		$wget_command = "cd $tarballs_dir && wget -nv $tarball && bunzip2 $filename && gzip -9 $decompressed_filename && mv $decompressed_filename.gz $debian_filename && rm -f $decompressed_filename";
 	}
 	else {
 		# tar.gz
@@ -85,7 +85,7 @@
 
 	# wget & stuff
 	if ( ! -f "$tarballs_dir/$debian_filename" ) { 
-			print "Trying the following command:\n$wget_command\n";
+			#print "Trying the following command:\n$wget_command\n";
 			system($wget_command) if not $debug;
 	}
 	else { print "W: ${pkg}'s tarball already present. Skipping\n"; }




More information about the Pkg-xfce-commits mailing list