Commit 1c679e16 authored by Jeremie Dimino's avatar Jeremie Dimino

utilisation de Packages.gz au lieu de Packages

darcs-hash:20080926003844-af139-e90b9d19d832e53c23c032e5e9633ccdc38c57e7.gz
parent 03e06bea
......@@ -7,7 +7,7 @@ generate () {
distrib=$1
arch=$2
arch2=$3
cat $(locate -r "/$distrib/.*/binary-$arch/Packages$") /mirror/custom/Packages | \
zcat $(locate -r "/$distrib/.*/binary-$arch/Packages.gz$") /mirror/custom/Packages.gz | \
awk '$1 == "Package:" {printf "%s ", $2} $1 == "Version:" {print $2}' | \
/usr/scripts/bcfg2/create-versions-index.py $arch2 $distrib > /usr/scripts/var/bcfg2/packages-generated-$distrib-$arch2.xml
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment