[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

script to download the localudebs ...



Hello,

Find here a small script which would allow to download all the latest versions
of the .udebs needed for the localudebs, it is a bit primitive, but it does
the work, much better than going clicking on the web pages pointed to by the
wiki, or going hunting the archive or something. I did it in a few minutes, so
you are all welcome to modify it or something.

Frans, if you judge this useful, please add it to the wiki or the archive or
something.

Friendly,

Sven Luther
#!/bin/sh

ARCH="powerpc"
URL="http://ftp.debian.org/debian";
SOURCES="cdebconf fontconfig directfb freetype gtk+2.0-directfb pango1.0"
UDEBS="rootskel-gtk cdebconf-gtk-udeb libgtk+2.0-directfb0-udeb libdirectfb-0.9-22-udeb libpango1.0-udeb libfreetype6-udeb fontconfig-udeb"
mkdir sven
cd sven

wget $URL/dists/sid/main/debian-installer/binary-$ARCH/Packages

for f in $UDEBS; do 
	udeb=`grep Filename.*$f Packages | sed -e 's%^Filename: %%'`
	for u in $udeb; do 
		wget $URL/$u
	done
done

cp *.udeb ..
#rm -rf sven

Reply to: