Changeset 7272


Ignore:
Timestamp:
May 15, 2018, 4:48:09 PM (17 months ago)
Author:
jrpelegrina
Message:

Update script file to EPI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-openboard/trunk/EPI_FILES/fuentes/zero-lliurex-openboard.install-files/usr/share/zero-lliurex-openboard/openboard_script

    r6651 r7272  
    1717                fi
    1818        ;;
     19
     20        postInstall)
     21
     22                mv /usr/bin/openboard /usr/bin/openboard_orig
     23                echo "#!/bin/bash" > /usr/bin/openboard
     24                echo "if [[ $LANG = *"@"* ]]; " >> /usr/bin/openboard
     25                echo "then" >> /usr/bin/openboard
     26                echo "LANG=ca_ES.UTF-8; /usr/bin/openboard_orig" >> /usr/bin/openboard
     27                echo "else" >> /usr/bin/openboard
     28                echo "/usr/bin/openboard_orig" >> /usr/bin/openboard
     29                echo "fi" >> /usr/bin/openboard
     30                chmod +x /usr/bin/openboard
     31
     32
     33        ;;
    1934        remove)
    2035
Note: See TracChangeset for help on using the changeset viewer.