From 424600e6198b1ba5165ba627ac6c1ec927ca3f34 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Tue, 14 Sep 2010 00:34:53 +0300 Subject: Small fix to update cron, add index.php archives files symlinks to initial setup --- scripts/update-venus | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3-65-gdbad