Changeset 7733


Ignore:
Timestamp:
Jul 16, 2018, 2:06:35 PM (12 months ago)
Author:
jrpelegrina
Message:

Fix spotify script to remove original desktop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-lliurex-installers/trunk/fuentes/zero-lliurex-spotify.install/usr/share/zero-lliurex-spotify/spotify-client_script

    r7353 r7733  
    22
    33
     4
    45ACTION="$1"
     6OLD_DESKTOP_PATH="/usr/share/mate/applications/spotify.desktop"
    57
    68case $ACTION in
     9
     10        postInstall)
     11                #Elimino el desktop para utilizar el proporcionado por lliurex-desktops-keeper
     12                echo "Removing Spotify desktop file..."
     13                if [ -f $OLD_DESKTOP_PATH ]; then
     14                        rm -f $OLD_DESKTOP_PATH
     15                fi     
     16        ;;     
     17
    718        remove)
    819                apt-get remove -y spotify-client
Note: See TracChangeset for help on using the changeset viewer.