updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alfresco-community-tomcat-es / alfresco-community-tomcat-es.install
blobac2e1a4bb617200914f572f4b00868bf9a380104
1 post_install() {
2     echo '==>> Adding the Spanish Alfresco Language Pack to web-client-config-custom.xml in'
3     echo -n '==>> /opt/Alfresco/tomcat/shared/classes/alfresco/extension/ ... '
4     
5     cd /opt/Alfresco/tomcat/shared/classes/alfresco/extension/
6     sed -i 's@<!-- <language locale="es_ES">Spanish</language> -->@<language locale="es_ES">Spanish</language>@' web-client-config-custom.xml || return 1
8     echo 'done.'
11 post_remove() {
12     echo '==>> Removing the Spanish Alfresco Language Pack from web-client-config-custom.xml in'
13     echo -n '==>> /opt/Alfresco/tomcat/shared/classes/alfresco/extension/ ... '
14     
15     cd /opt/Alfresco/tomcat/shared/classes/alfresco/extension/
16     sed -i 's@<language locale="es_ES">Spanish</language>@<!-- <language locale="es_ES">Spanish</language> -->@' web-client-config-custom.xml || return 1
17     
18     echo 'done.'
21 op=$1
22 shift
23 $op $*