[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: partial mirroring script (that actually doesn't work)



ACK,
Sorry about replying to my own message but there is one little thing 
missing from the script. It doesn't make the codename symlinks to the 
distributions. Here is a fix for that. I put it just before the pools 
get handled.

# Generate the sym links that refer to each of the dists
for DIST in $DISTS; do
   zgrep ^Filename
   $DEST/$ROOT/dists/$DIST/main/binary-$(ARCH)/Packages.gz | \
   head -1 | cut -d "/" -f 2 > $SYMDIST
   ln -s $DEST/$ROOT/dists/$DIST $DEST/$ROOT/dists/$SYMDIS
done
	 

-- 
Frisco Rose             "By any other name, I would smell the same"
E.O.U. Stud.             rosef@quark.eou.edu         rosef@eou.edu
Physics                  Mathematics 	          Computer Science

INTACT Director



Reply to: