Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyennv committed Mar 30, 2014
1 parent e063926 commit 369d124
Show file tree
Hide file tree
Showing 14 changed files with 6,416 additions and 0 deletions.
39 changes: 39 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#bin/sh

#install-lang.sh release 0.7.
#This script is used to install language packs to Zimbra CS 5.x or higher
#as the instructions in:
#http://wiki.zimbra.com/index.php?title=Translations#ZCS_5.x_.28Jetty.29
#
#Copyright (C) 2009 Truong Anh Tuan - [email protected].
#
#This program is free software: you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation, either version 3 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#GNU General Public License for more details.
#
#You should have received a copy of the GNU General Public License
#along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#How to use:
#You should extract this script into the same folder as language files,
#and use "chmod +x install-lang.sh" to set it excutable.

chown zimbra: ./keys/*vi_VN.properties
chown zimbra: ./messages/*vi_VN.properties

chmod -x ./keys/*vi_VN.properties
chmod -x ./messages/*vi_VN.properties

cp ./keys/*vi_VN.properties /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/keys/
cp ./messages/*vi_VN.properties /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/

cp ./keys/*vi_VN.properties /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/keys/
cp ./messages/*vi_VN.properties /opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/messages/

su - zimbra -c "zmmailboxdctl restart"
Loading

0 comments on commit 369d124

Please sign in to comment.