Changeset 5356


Ignore:
Timestamp:
Jun 27, 2017, 10:10:50 AM (18 months ago)
Author:
daduve
Message:

Fix bug in exec desktop for installed versions

Location:
zero-lliurex-adobeair/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-adobeair/trunk/fuentes/debian/postinst

    r5355 r5356  
    33
    44UPDATED_FILE="/opt/AdobeAirApp/Scratch 2/share/META-INF/AIR/application.xml"
    5 LAST_ORIG_VERSION="456.0.3"
    6 LAST_LLIUREX_VERSION="904"
     5LAST_ORIG_VERSION="456.0.1"
     6LAST_LLIUREX_VERSION="903"
     7
     8ICON_FILE="/usr/share/mate/applications/edu.media.mit.scratch2editor.desktop"
    79
    810if [ ! -f "$UPDATED_FILE" ]; then
     
    1719        echo "Fixing bug versions"
    1820        sed -i -e "s%<versionNumber>$ACTUAL_VERSION<\/versionNumber>%<versionNumber>$LAST_LLIUREX_VERSION<\/versionNumber>%g" "$UPDATED_FILE"
     21        sed -i '/Exec/d' $ICON_FILE
     22        echo "Exec=env http_proxy='' '/opt/AdobeAirApp'/'Scratch 2'/bin/'Scratch 2'" >> $ICON_FILE
    1923fi
    2024
  • zero-lliurex-adobeair/trunk/fuentes/zero-lliurex-adobeair.zlaunchers/zero-lliurex-adobeair-scratch2.zmd

    r5355 r5356  
    2929#Para el control de versiones partimos de que la 437 corresponde a la 900 y asi incrementalmente en ambos casos en el fichero indicado
    3030UPDATE_FILE="/opt/AdobeAirApp/Scratch 2/share/META-INF/AIR/application.xml"
    31 VERSION_ORIG_NUMBER="456.0.3"
    32 VERSION_LLIUREX_NUMBER="904"
     31VERSION_ORIG_NUMBER="456.0.1"
     32VERSION_LLIUREX_NUMBER="903"
    3333
    3434zero-center add-pulsating-color zero-lliurex-adobeair-scratch2
Note: See TracChangeset for help on using the changeset viewer.