summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-14 01:27:53 +0300
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-14 01:27:53 +0300
commitf0869d62e5352d0db5eaa863c1b4676710f9ad63 (patch)
tree7a100db7d47e72ec9be27dae4e76bbd5d39488c9 /scripts
parentSmall fix to update cron, add index.php archives files symlinks to (diff)
downloadplanet-f0869d62e5352d0db5eaa863c1b4676710f9ad63.tar.gz
planet-f0869d62e5352d0db5eaa863c1b4676710f9ad63.tar.bz2
planet-f0869d62e5352d0db5eaa863c1b4676710f9ad63.zip
Add html files in year dir
Diffstat (limited to 'scripts')
-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