summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-14 00:34:53 +0300
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-14 00:34:53 +0300
commit424600e6198b1ba5165ba627ac6c1ec927ca3f34 (patch)
tree9a46055c372df39887147f131920f5f8bee87d74 /scripts
parentPut the correct archives/index.php file (diff)
downloadplanet-424600e6198b1ba5165ba627ac6c1ec927ca3f34.tar.gz
planet-424600e6198b1ba5165ba627ac6c1ec927ca3f34.tar.bz2
planet-424600e6198b1ba5165ba627ac6c1ec927ca3f34.zip
Small fix to update cron, add index.php archives files symlinks to
initial setup
Diffstat (limited to 'scripts')
-rw-r--r--scripts/update-venus3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update-venus b/scripts/update-venus
index ac8f414..c371e90 100644
--- a/scripts/update-venus
+++ b/scripts/update-venus
@@ -15,6 +15,9 @@ mkdir -p ${BASE_DIR}logs/{planet,universe} ${BASE_DIR}generated_configs
touch generated_configs/venus.{planet,universe}.ini
[[ -L ${BASE_DIR}htdocs/images ]] ln -s ${BASE_DIR}planet-gentoo/media/* htdocs/
mkdir -p ${BASE_DIR}htdocs/archives ${BASE_DIR}htdocs/universe/archives
+[[ -L ${BASE_DIR}htdocs/archives/index.php ]] || ln -s ${BASE_DIR}planet-gentoo/archives/planet/index.php ${BASE_DIR}htdocs/archives/index.php
+[[ -L ${BASE_DIR}htdocs/universe/archives/index.php ]] || ln -s ${BASE_DIR}planet-gentoo/archives/universe/index.php ${BASE_DIR}htdocs/universe/archives/index.php
+
# Get latest Git changes
git pull ${BASE_DIR}planet-gentoo/ >/dev/null 2>&1