summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authormurray <murray@FreeBSD.org>2002-12-08 18:31:03 +0000
committermurray <murray@FreeBSD.org>2002-12-08 18:31:03 +0000
commitb7485df3b01ef657b934b1283b6a40b218b78999 (patch)
tree1d766c8f46c7edd00026c348028bebaf1f5e4410 /release/scripts
parentfe6446a0553d019fe05cc881be005c791278013e (diff)
downloadFreeBSD-src-b7485df3b01ef657b934b1283b6a40b218b78999.zip
FreeBSD-src-b7485df3b01ef657b934b1283b6a40b218b78999.tar.gz
We use .tbz packages in -CURRENT now.
Approved by: re
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/chkINDEX4
-rwxr-xr-xrelease/scripts/mkpkghier8
2 files changed, 6 insertions, 6 deletions
diff --git a/release/scripts/chkINDEX b/release/scripts/chkINDEX
index ff86863..d2b9e0e 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 9f59512..c14b628 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
OpenPOWER on IntegriCloud