diff options
author | 2010-09-15 18:12:40 +0300 | |
---|---|---|
committer | 2010-09-15 18:12:40 +0300 | |
commit | 19c766be0555ef26a9a2e3a227ae45fd6ce5140c (patch) | |
tree | 2fbda2b277acdc5b7392f25aedb1cc600536b709 /scripts/update-venus | |
parent | Specify the git pull dir (diff) | |
download | planet-19c766be0555ef26a9a2e3a227ae45fd6ce5140c.tar.gz planet-19c766be0555ef26a9a2e3a227ae45fd6ce5140c.tar.bz2 planet-19c766be0555ef26a9a2e3a227ae45fd6ce5140c.zip |
Copy templates/common/ files inside ${BASE_DIR} due to permissions
problem in /usr
Diffstat (limited to 'scripts/update-venus')
-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 ]] || \ |