forked from Flums/Norwegian-Zimbra-Translation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
22 lines (17 loc) · 1.51 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
VERSION=$(sudo -u zimbra /opt/zimbra/bin/zmcontrol -v| awk '{ print $2 }' | awk -F. '{ print $1 }')
cd /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/messages/
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/AjxMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/I18nMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZaMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZbMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZhMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZmMsg_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/messages/ZmSMS_no.properties
chown zimbra: *
cd /opt/zimbra/jetty/webapps/zimbra/WEB-INF/classes/keys/
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/keys/AjxKeys_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/keys/ZhKeys_no.properties
wget -N https://raw.github.com/Flums/Norwegian-Zimbra-Translation/master/zimbra$VERSION/keys/ZmKeys_no.properties
chown zimbra: *