Changeset 6665


Ignore:
Timestamp:
Jan 24, 2018, 12:18:38 PM (19 months ago)
Author:
jrpelegrina
Message:

WIP in migratin of google-sketchup zmd to epi

Location:
zero-lliurex-sketchup/trunk/EPI-FILES/fuentes
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-sketchup/trunk/EPI-FILES/fuentes/zero-lliurex-sketchup.install-files/usr/share/google-sketchup/google-sketchup_script

    r6663 r6665  
    33
    44ACTION="$1"
     5USERHOME=$(getent passwd $USER | cut -f6 -d ':')
     6DESKTOP_PATH=$USERHOME"./local/share/applicacions/wine/Programs/Google Sketchup/Google SketchUp.desktop"
    57
    68case $ACTION in
    79
    810        install)
    9                 echo "Launching installer assitant..."
     11                echo "Launching installation wizard..."
    1012                su $USER -c "wine /var/cache/epi-downloads/GoogleSketchUpWES.exe"
    11                 su $USER -c "regedit /usr/share/google-sketchup/hw_ok_set.reg"
     13                if [ -f ${DESTKOP_PATH} ];then
     14                        su $USER -c "regedit /usr/share/google-sketchup/hw_ok_set.reg"
     15                else
     16                        exit 0
     17                fi             
     18
    1219
    1320        ;;
     21
     22        remove)
     23
     24                echo "Launching uninstall wizard..."
     25                su $USER -c "wine uninstaller"
     26               
     27        ;;     
    1428       
    1529esac
Note: See TracChangeset for help on using the changeset viewer.