Changeset 7161


Ignore:
Timestamp:
Apr 23, 2018, 12:24:41 PM (2 years ago)
Author:
daduve
Message:

Bug with @ in valencian language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-openboard/trunk/fuentes/zero-lliurex-openboard.zlaunchers/zero-lliurex-openboard.zmd

    r6307 r7161  
    8080        exit 1
    8181else
     82        #instalation is OK, now we solve the bug with @valencia language
     83        mv /usr/bin/openboard /usr/bin/openboard_orig
     84        echo "#!/bin/bash" > /usr/bin/openboard
     85        echo "if [[ $LANG = *"@"* ]]; " >> /usr/bin/openboard
     86        echo "then" >> /usr/bin/openboard
     87        echo "LANG=ca_ES.UTF-8; /usr/bin/openboard_orig $1" >> /usr/bin/openboard
     88        echo "else" >> /usr/bin/openboard
     89        echo "/usr/bin/openboard_orig $1" >> /usr/bin/openboard
     90        echo "fi" >> /usr/bin/openboard
     91        chmod +x /usr/bin/openboard
    8292        zero-center remove-pulsating-color zero-lliurex-openboard
    8393        zero-center set-configured zero-lliurex-openboard
Note: See TracChangeset for help on using the changeset viewer.