Index without .tar.bz
This commit is contained in:
parent
807cd19e17
commit
224aec8568
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue