]> git.openstreetmap.org Git - chef.git/blob - cookbooks/planet/files/default/bin/apache-latest-planet-filename
Don't need planet2pbf
[chef.git] / cookbooks / planet / files / default / bin / apache-latest-planet-filename
1 #!/usr/bin/perl
2
3 # DO NOT EDIT - This file is being maintained by Chef
4
5 $| = 1;
6 while (<STDIN>) {
7         my $where = readlink("/store/planet/planet/planet-latest.osm.bz2");
8         s/planet\/planet\-latest\.osm\.bz2/planet\/$where/g;
9         print $_;
10 }