diff options
author | François Andriot <[email protected]> | 2014-03-16 13:01:25 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2014-03-16 13:01:25 +0100 |
commit | ac9528cdc30a02a5de9bee61d984ce5e887738db (patch) | |
tree | da0d46e2887ebd9ff3322d7b5c751d29b2086085 /ubuntu/lucid_automake/applications/amarok/debian/install-mp3 | |
parent | 86edbad7c86151df1ff3ba015b466a634920e3e7 (diff) | |
parent | f923c3ffdf627da3a7637db245b24b9f29f7c6a1 (diff) | |
download | tde-packaging-ac9528cdc30a02a5de9bee61d984ce5e887738db.tar.gz tde-packaging-ac9528cdc30a02a5de9bee61d984ce5e887738db.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'ubuntu/lucid_automake/applications/amarok/debian/install-mp3')
-rw-r--r-- | ubuntu/lucid_automake/applications/amarok/debian/install-mp3 | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/ubuntu/lucid_automake/applications/amarok/debian/install-mp3 b/ubuntu/lucid_automake/applications/amarok/debian/install-mp3 deleted file mode 100644 index dba822fb7..000000000 --- a/ubuntu/lucid_automake/applications/amarok/debian/install-mp3 +++ /dev/null @@ -1,40 +0,0 @@ -check_mp3() { - - INSTALLED=`dpkg --get-selections libxine1-ffmpeg | grep install` - - if [ -z "$INSTALLED" ]; then - if [ -x /opt/kde3/bin/kdialog ]; then - kdialog --msgbox "There was an error installing MP3 support. You need to install the package \"libxine1-ffmpeg\" manually." --icon amarok - elif [ -x /usr/bin/zenity ]; then - zenity --info --text "There was an error installing MP3 support. You need to install the package \"libxine1-ffmpeg\" manually." - else - Xdialog --msgbox "There was an error installing MP3 support.\nYou need to install the package \"libxine1-ffmpeg\" manually." 10 60 - fi - exit 1 - else - if [ -x /opt/kde3/bin/kdialog ]; then - kdialog --msgbox "MP3 support now installed, you will need to restart Amarok." --icon amarok - elif [ -x /usr/bin/zenity ]; then - zenity --info --text "MP3 support now installed, you will need to restart Amarok." - else - Xdialog --msgbox "MP3 support now installed, you will need to restart Amarok." 5 60 - fi - exit 0 - fi -} - -INSTALLED=`dpkg --get-selections libxine1-ffmpeg | grep install` - -#is available, not installed -if [ -z "$INSTALLED" ]; then - if [ -x /opt/kde3/bin/kdesu ] && [ -x /usr/bin/install-package ]; then - /opt/kde3/bin/kdesu -d "install-package --icon amarok --install libxine1-ffmpeg" - elif [ -x /usr/bin/gksudo ] && [ -x /usr/sbin/synaptic ]; then - gksudo "sh -c 'echo \"libxine1-ffmpeg i\"|synaptic --non-interactive --set-selections'" - else - xterm -e 'sudo apt-get install libxine1-ffmpeg' - fi - check_mp3 -fi - -exit 0 |