Re: RFS: http-replicator
#include <hallo.h>
* Gertjan van Zwieten [Thu, Aug 19 2004, 12:01:12PM]:
> I admit I was not aware of this perl one-liner you're referring to. I
Such as... for x in *.deb; do perl -e 'read(STDIN,$a,2000); $a=~s,^(.*?)\r?\n\r?\n,,ms; print $a, <STDIN>' < $x > pure/$x; done
> didn't find any of this on the website, which by the way seems to be
> currently offline. Still, even with such script some problems remain.
> For instance apt-cacher's cache can't be easily turned into an offline
> cache, which can be useful when doing a fresh install. With replicator
> it's as simple as generating a local Packages.gz with dpkg-scanpackages.
Okay. But I dont's see it as a disadvantage, and even then it would be
relatively easy to modify apt-cacher to use separate files for package
contents and HTTP headers.
Regards,
Eduard.
--
"After watching my newly-retired dad spend two weeks learning how to
make a new folder, it became obvious that "intuitive" mostly means
"what the writer or speaker of intuitive likes".
- Bruce Ediger, bediger@teal.csn.org, on X the intuitiveness of a Mac interface
Reply to: