Generate planet-latest checksum files correctly
authorTom Hughes <tom@compton.nu>
Wed, 31 Dec 2014 07:57:04 +0000 (07:57 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 31 Dec 2014 07:57:04 +0000 (07:57 +0000)
cookbooks/planet/templates/default/planetdump.erb

index 6ee7734..d891fc2 100644 (file)
@@ -68,7 +68,7 @@ function install_dump {
   mv "${name}" "${name}.md5" "${dir}/${year}"
   ln -sf "${year:-.}/${name}" "${dir}/${latest}"
   rm -f "${dir}/${latest}.md5"
-  sed -e "s/${name}/${latest}/" "${dir}/${year}/${name}.md5" > "${dir}/${latest}.md5"
+  sed -e "s/${name}/${latest}/" "${dir}/${year}/${name}.md5" > "${dir}/${latest}.md5"
 }
 
 # Move dumps into place