diff --git a/release/scripts/chkINDEX b/release/scripts/chkINDEX index ff868634ebc4..d2b9e0eed8b7 100755 --- a/release/scripts/chkINDEX +++ b/release/scripts/chkINDEX @@ -13,8 +13,8 @@ usage() [ -f INDEX ] || usage "INDEX file not found" echo Checking for missing files -sed 's,^\([^|]*\)|.*,All/\1.tgz,' INDEX | xargs ls -l >/dev/null +sed 's,^\([^|]*\)|.*,All/\1.tbz,' INDEX | xargs ls -l >/dev/null echo Checking for missing dependents awk -F'|' '{print $9}' INDEX | sed 's/ /\ -/g' | sort -u | sed -e /^$/d -e 's/\(.*\)/All\/\1.tgz/' | xargs ls -l >/dev/null +/g' | sort -u | sed -e /^$/d -e 's/\(.*\)/All\/\1.tbz/' | xargs ls -l >/dev/null diff --git a/release/scripts/mkpkghier b/release/scripts/mkpkghier index 9f59512c2cdb..c14b62868018 100755 --- a/release/scripts/mkpkghier +++ b/release/scripts/mkpkghier @@ -20,14 +20,14 @@ old=$(ls | egrep -v "^INDEX$|^All$|^Latest$") echo Creating new hierarchy awk -F'|' '{ print $1 " " $7; }' INDEX | while read pkg dirs do - [ -f All/$pkg.tgz ] || { - echo "All/$pkg.tgz: Non-existent" >&2 + [ -f All/$pkg.tbz ] || { + echo "All/$pkg.tbz: Non-existent" >&2 continue } for dir in $dirs do mkdir -p $dir - [ -e $dir/$pkg.tgz ] && continue - ln -s ../All/$pkg.tgz $dir/$pkg.tgz + [ -e $dir/$pkg.tbz ] && continue + ln -s ../All/$pkg.tbz $dir/$pkg.tbz done done