Package tweaks.

This commit is contained in:
Ben Gras 2006-03-26 15:51:34 +00:00
parent bfb0e87265
commit 807cd19e17
2 changed files with 5 additions and 3 deletions

View file

@ -108,11 +108,13 @@ do cd $TMPDIR
net*) echo "Retrieving binary from primary location into $TMPDIR .."
srcurl=""
if urlget $URL1/$file >$file
then packit $file && echo Installed ok.
then echo "Installing .."
packit $file && echo Installed ok.
srcurl=$SRCURL1/$file
else echo "Retrying from Beta binary location.."
if urlget $URL2/$file >$file
then packit $file && echo Installed ok.
then echo "Installing .."
packit $file && echo Installed ok.
srcurl=$SRCURL2/$file
else echo "Retrieval failed."
fi

View file

@ -251,7 +251,7 @@ then echo " * Indexing packages"
for p in *.tar.bz2
do descr="../`echo $p | sed 's/.tar.bz2//'`/.descr"
if [ -f "$descr" ]
then printf "%-32s %s\n" "$p" "`cat $descr`"
then echo "$p|`cat $descr`"
fi
done >List
)