[Debian-l10n-commits] r2715 - in /ddtp-web: Changelog Packages2packages_tb.sh

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Mon Jul 25 14:45:58 UTC 2011


Author: nekral-guest
Date: Mon Jul 25 14:45:58 2011
New Revision: 2715

URL: http://svn.debian.org/wsvn/?sc=1&rev=2715
Log:
	* Packages2packages_tb.sh: Updated list of distributions: sarge
	etch lenny changed to squeeze wheezy (i.e. oldstable dropped)
	* Packages2packages_tb.sh: Report failure to wget.

Modified:
    ddtp-web/Changelog
    ddtp-web/Packages2packages_tb.sh

Modified: ddtp-web/Changelog
URL: http://svn.debian.org/wsvn/ddtp-web/Changelog?rev=2715&op=diff
==============================================================================
--- ddtp-web/Changelog (original)
+++ ddtp-web/Changelog Mon Jul 25 14:45:58 2011
@@ -38,3 +38,9 @@
 	version) loop replaced by make_translation_file(). Use the
 	package_version_tb table to pick description for a package and
 	version. + other changes
+	* Packages2packages_tb.sh: Updated list of architectures. Removed
+	alpha, arm, hppa, hurd-i386, m68k. Added kfreebsd-i386,
+	kfreebsd-amd64.
+	* Packages2packages_tb.sh: Updated list of distributions: sarge
+	etch lenny changed to squeeze wheezy (i.e. oldstable dropped)
+	* Packages2packages_tb.sh: Report failure to wget.

Modified: ddtp-web/Packages2packages_tb.sh
URL: http://svn.debian.org/wsvn/ddtp-web/Packages2packages_tb.sh?rev=2715&op=diff
==============================================================================
--- ddtp-web/Packages2packages_tb.sh (original)
+++ ddtp-web/Packages2packages_tb.sh Mon Jul 25 14:45:58 2011
@@ -5,11 +5,9 @@
 
 cd ~ddtp
 
-DISTS="alpha amd64 arm armel hppa hurd-i386 i386 ia64 m68k mips mipsel powerpc s390 sparc"
-#DISTS="i386"
+DISTS="amd64 armel i386 ia64 kfreebsd-i386 kfreebsd-amd64 mips mipsel powerpc s390 sparc"
 PART="main contrib"
-DISTRIBUTION="sarge etch lenny sid"
-DISTRIBUTION="etch lenny sid"
+DISTRIBUTION="squeeze wheezy sid"
 
 for distribution  in $DISTRIBUTION
 do
@@ -21,7 +19,7 @@
 
 			echo `date`: ${distribution}/${part}/$arch
 			[ -s $file.bz2 ] && mv $file.bz2 Packages/Packages.bz2
-			wget -P Packages -q -m -nd http://ftp.de.debian.org/debian/dists/${distribution}/${part}/binary-$arch/Packages.bz2
+			wget -P Packages -q -m -nd http://ftp.de.debian.org/debian/dists/${distribution}/${part}/binary-$arch/Packages.bz2 || echo `date`: "Failed to download ${distribution}/${part}/$arch"
 			[ -s Packages/Packages.bz2 ] && mv Packages/Packages.bz2 $file.bz2
 			echo `date`: Packages file downloaded
 		done
@@ -44,7 +42,7 @@
 			[ -f $file ] || echo no $file
 		done
 
-                file="Packages/Packages_${distribution}_${part}.bz2"
+		file="Packages/Packages_${distribution}_${part}.bz2"
 		$DB2FILE > $file
 	done
 done




More information about the Debian-l10n-commits mailing list