Fix filename error in planet-notes-dump script
authorGrant Slater <git@firefishy.com>
Fri, 1 Aug 2014 09:00:44 +0000 (10:00 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 1 Aug 2014 09:00:44 +0000 (10:00 +0100)
cookbooks/planet/templates/default/planet-notes-dump.erb

index 6363c0bde9d97b7694e4a4d0b47d33470167c13c..be94c941b64fb61ba35fa43a19096b6f2962c31d 100644 (file)
@@ -42,7 +42,7 @@ if ((planet_notes_size<12000000)); then
        exit 1
 fi
 
-mv .${cur_planet_notes}.bz2.new ${cur_planet_notes}.bz2
+mv .${cur_planet_notes}.bz2 ${cur_planet_notes}.bz2
 md5sum ${cur_planet_notes}.bz2 > ${cur_planet_notes}.bz2.md5
 
 #link planet latest to the new file