summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2010-09-15 19:23:19 +0300
committerTheo Chatzimichos <tampakrap@gentoo.org>2010-09-15 19:23:19 +0300
commite06faab97a5d8086eedbbad417a3d5449e422279 (patch)
tree4ca062285b5dc86acd0e6089cb2ceb32cb7fea82 /scripts/update-venus
parentContinue the owner_name - description dirty fix (diff)
downloadplanet-e06faab97a5d8086eedbbad417a3d5449e422279.tar.gz
planet-e06faab97a5d8086eedbbad417a3d5449e422279.tar.bz2
planet-e06faab97a5d8086eedbbad417a3d5449e422279.zip
fix path in update-venus cron
Diffstat (limited to 'scripts/update-venus')
-rwxr-xr-xscripts/update-venus2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-venus b/scripts/update-venus
index 80fc0b6..5f16c39 100755
--- a/scripts/update-venus
+++ b/scripts/update-venus
@@ -13,7 +13,7 @@ VENUS_DIR="/usr/lib/python2.6/site-packages/venus/"
[[ -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/
+ cp /usr/share/webapps/$(ls /usr/share/webapps/venus/ | 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 ]] || \