Author: tchemit Date: 2015-12-15 08:47:13 +0100 (Tue, 15 Dec 2015) New Revision: 134 Url: http://forge.codelutin.com/projects/adminsys/repository/revisions/134 Log: Mise ?\195?\160 jour du script de mise ?\195?\160 jour des sites techniques (mais s'il tend ?\195?\160 disparaire) Modified: scripts/redmine-tools/update_technical_site.sh Modified: scripts/redmine-tools/update_technical_site.sh =================================================================== --- scripts/redmine-tools/update_technical_site.sh 2015-12-15 07:46:29 UTC (rev 133) +++ scripts/redmine-tools/update_technical_site.sh 2015-12-15 07:47:13 UTC (rev 134) @@ -10,7 +10,8 @@ # 2014-12-22 chemit@codelutin.com : # - do nothing if main site directory is not found # - espace version name (some extra spaces could be in it) -# +# 2015-01-12 chemit@codelutin.com +# - chown to publish.www-data FORGE=$1 PROJECT=$2 @@ -42,7 +43,7 @@ unlink $DOC_DIR/latest 2> /dev/null (cd $DOC_DIR ; ln -s $LAST_VERSION_NAME latest) -chown www-data. $DOC_DIR/latest +chown publish.www-data $DOC_DIR/latest SITE_DIR=/var/lib/doc/site/$FORGE/$PROJECT @@ -89,6 +90,6 @@ #cat $INDEX_FILE2 cp -f $INDEX_FILE $INDEX_FILE"_backup" mv -f $INDEX_FILE2 $INDEX_FILE - chown www-data. $INDEX_FILE + chown publish.www-data $INDEX_FILE fi