Theo Chatzimichos | 11 Jul 2012 11:53
Picon
Favicon
Gravatar

proj/blogs-gentoo:master commit in: scripts/

commit:     5e1d1bb82975377540d3079b4b4da72bce671ea7
Author:     Theo Chatzimichos <tampakrap <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 11 09:50:48 2012 +0000
Commit:     Theo Chatzimichos <tampakrap <AT> gentoo <DOT> org>
CommitDate: Wed Jul 11 09:50:48 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/blogs-gentoo.git;a=commit;h=5e1d1bb8

Cosmetics

---
 scripts/update-wordpress |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/scripts/update-wordpress b/scripts/update-wordpress
index 94229d8..4fc3493 100644
--- a/scripts/update-wordpress
+++ b/scripts/update-wordpress
 <at>  <at>  -1,18 +1,18  <at>  <at> 
 #!/bin/bash
-BASE_DIR="/var/www/blogs.gentoo.org/" # created by cfengine
+BASE_DIR="/var/www/blogs.gentoo.org" # created by cfengine

 # Create folders and symlinks
-[[ -d ${BASE_DIR}htdocs/wp-content/plugins ]] 	&& rm -rf ${BASE_DIR}htdocs/wp-content/plugins
-[[ -L ${BASE_DIR}htdocs/wp-content/plugins ]] 	|| ln -s ${BASE_DIR}blogs-gentoo/plugins ${BASE_DIR}htdocs/wp-content/
+[[ -d ${BASE_DIR}/htdocs/wp-content/plugins ]] && rm -rf ${BASE_DIR}/htdocs/wp-content/plugins
+[[ -L ${BASE_DIR}/htdocs/wp-content/plugins ]] || ln -s ${BASE_DIR}/blogs-gentoo/plugins ${BASE_DIR}/htdocs/wp-content/

 # List of themes
 # In order to install a new theme, put it in themes/, and then add an entry like the following, changing the
(Continue reading)


Gmane