diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-venus | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/update-venus b/scripts/update-venus index 2cd3120..80fc0b6 100755 --- a/scripts/update-venus +++ b/scripts/update-venus @@ -12,6 +12,8 @@ VENUS_DIR="/usr/lib/python2.6/site-packages/venus/" [[ -d ${BASE_DIR}generated_configs ]] || mkdir ${BASE_DIR}generated_configs [[ -L ${BASE_DIR}htdocs/images ]] || ln -s ${BASE_DIR}planet-gentoo/media/* ${BASE_DIR}htdocs/ [[ -d ${BASE_DIR}htdocs/archives ]] || mkdir ${BASE_DIR}htdocs/archives +[[ -d ${BASE_DIR}themes_common ]] || mkdir -p ${BASE_DIR}themes_common; \ + cp /usr/share/webapps/$(ls /usr/share/webapps/ | grep "^20" | sort -r | head -n 1)/themes/common/* ${BASE_DIR}/themes_common/ [[ -d ${BASE_DIR}htdocs/universe/archives ]] || \ mkdir -p ${BASE_DIR}htdocs/universe/archives [[ -L ${BASE_DIR}htdocs/archives/index.php ]] || \ |