summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/update-venus')
-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