On Tue, 29 Oct 2002 23:29:27 -0800 Ben Rosenberg <ben@whack.org> wrote: . . . snip
Yes, use this script and also visit kde-look.org. A user on that site just posted over 1200 TTF's that he collected together. They are free
snip . . . Well, this maybe a stupid question, but I won't know if I don't ask. I created the script that Quinton posted and received the following error as the shell script executed for each of the font packages: courie32.exe: Fetching ... done Extracting ... failed ... deleted! so I edited the script I created and deleted the wget quiet option to see what was happening with the download and saw this result for each of the font packages: Resolving umn.dl.sourceforge.net... done. Connecting to umn.dl.sourceforge.net[128.101.80.130]:80... connected. HTTP request sent, awaiting response... 200 Successful Length: 661,728 [application/octet-stream] 100%[====================================>] 661,728 747.94K/s ETA 00:00 11:13:00 (747.94 KB/s) - `times32.exe' saved [661728/661728] done Extracting ... failed ... deleted! The file had been downloaded, but the extraction phase fails for some reason. What am I missing here? I have not written many scripts (well lets make that maybe two and this is the second one - I am a real newbie when it comes to scripts so go easy ;-) ) -- I see the loop that is supposed to extract the fonts (from Quinton's post):
for archive in $FONTS; do file=`echo $archive|awk -F "/" '{print $NF}'` rm -f $file echo "$file:" echo -n " Fetching ... " wget $WGET_OPTIONS $archive if [ $? -ne 0 ]; then rm -f $file echo "failed ... deleted!" continue fi echo done echo -n " Extracting ... " cabextract -l $file &> /dev/null if [ $? -ne 0 ]; then rm -f $file echo "failed ... deleted!" else cabextract $file &> /dev/null echo "done" fi
but can't figure out why it is failing. Any suggestions? -- Mark Registered Linux User #287233 http://counter.li.org "The kind of person who always insists on his way of seeing things can never learn anything from anyone." Lao Tzu, Tao Te Ching