Author: tchemit Date: 2014-04-05 13:55:41 +0200 (Sat, 05 Apr 2014) New Revision: 60 Url: http://forge.codelutin.com/projects/adminsys/repository/revisions/60 Log: add update-tomcat-7 script (copy also tomcat-users conf) Modified: scripts/redmine-tools/update-tomcat-7.sh Modified: scripts/redmine-tools/update-tomcat-7.sh =================================================================== --- scripts/redmine-tools/update-tomcat-7.sh 2014-04-05 11:51:28 UTC (rev 59) +++ scripts/redmine-tools/update-tomcat-7.sh 2014-04-05 11:55:41 UTC (rev 60) @@ -68,6 +68,7 @@ local UNPACK_DIR=$TARGET_DIR/$DIR local UNPACK_OLD_DIR=$TARGET_DIR/apache-tomcat-$OLD_RELEASE cp $UNPACK_OLD_DIR/webapps/*.war $UNPACK_DIR/webapps + cp $UNPACK_OLD_DIR/conf/tomcat-users.xml $UNPACK_DIR/conf local LINK=$LINK_DIR/${DIR%%.*} sed -i 's/<Connector /<Connector URIEncoding="UTF-8" /g' $UNPACK_DIR/conf/server.xml rm -f $LINK
participants (1)
-
tchemit@users.forge.codelutin.com