summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-venus')
-rw-r--r--scripts/update-venus4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-venus b/scripts/update-venus
index c371e909..4e7c5a1f 100644
--- a/scripts/update-venus
+++ b/scripts/update-venus
@@ -38,7 +38,7 @@ find ${BASE_DIR}logs -type f -mtime +30 -delete
# Archive posts
cp ${BASE_DIR}htdocs/index.html \
- ${BASE_DIR}htdocs/archives/${DATE}.html
+ ${BASE_DIR}htdocs/archives/$(date +%G)/${DATE}.html
cp ${BASE_DIR}htdocs/universe/index.html \
- ${BASE_DIR}htdocs/universe/archives/${DATE}.html
+ ${BASE_DIR}htdocs/universe/archives/$(date +%G)/${DATE}.html