summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/applications/amarok/debian/install-mp3
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-04-17 13:57:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-04-17 13:57:20 +0900
commit2d59086b104acd7b4711fd067c9bb4480158e6ab (patch)
tree7d3d9aff90930e65a491c055510aba94debc6da9 /ubuntu/precise/applications/amarok/debian/install-mp3
parent55b519366b1dcd7ab5b2f1f720d275b33fc4bd49 (diff)
downloadtde-packaging-2d59086b104acd7b4711fd067c9bb4480158e6ab.tar.gz
tde-packaging-2d59086b104acd7b4711fd067c9bb4480158e6ab.zip
Removed Ubuntu/precise folder
Diffstat (limited to 'ubuntu/precise/applications/amarok/debian/install-mp3')
-rw-r--r--ubuntu/precise/applications/amarok/debian/install-mp340
1 files changed, 0 insertions, 40 deletions
diff --git a/ubuntu/precise/applications/amarok/debian/install-mp3 b/ubuntu/precise/applications/amarok/debian/install-mp3
deleted file mode 100644
index ae0663182..000000000
--- a/ubuntu/precise/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/trinity/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/trinity/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/trinity/bin/tdesu ] && [ -x /usr/bin/install-package ]; then
- /opt/trinity/bin/tdesu -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