Index without .tar.bz

This commit is contained in:
Ben Gras 2006-03-26 16:00:25 +00:00
parent 807cd19e17
commit 224aec8568

View file

@ -249,7 +249,8 @@ if [ -d $PACKAGEDIR -a -d $PACKAGESOURCEDIR ]
then echo " * Indexing packages" then echo " * Indexing packages"
( cd $PACKAGEDIR ( cd $PACKAGEDIR
for p in *.tar.bz2 for p in *.tar.bz2
do descr="../`echo $p | sed 's/.tar.bz2//'`/.descr" do p="`echo $p | sed 's/.tar.bz2//'`"
descr="../$p/.descr"
if [ -f "$descr" ] if [ -f "$descr" ]
then echo "$p|`cat $descr`" then echo "$p|`cat $descr`"
fi fi