diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-03 14:44:58 -0500 |
commit | 0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6 (patch) | |
tree | c0d0d652fef20159e78fa20b2567661bd7db8e41 /debian/lenny/applications/amarok/debian/kubuntu-media-amarok | |
parent | 6b027437fd51e7874aaffed9e395ddf7913c3ab4 (diff) | |
download | tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.tar.gz tde-packaging-0cc79c34f5e9be7eced52b0565e8e79acfa5f4e6.zip |
Add initial Debian Lenny/Squeeze packaging as well as symlink Lucid to Maverick
Diffstat (limited to 'debian/lenny/applications/amarok/debian/kubuntu-media-amarok')
-rw-r--r-- | debian/lenny/applications/amarok/debian/kubuntu-media-amarok | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/lenny/applications/amarok/debian/kubuntu-media-amarok b/debian/lenny/applications/amarok/debian/kubuntu-media-amarok new file mode 100644 index 000000000..dacf7fc55 --- /dev/null +++ b/debian/lenny/applications/amarok/debian/kubuntu-media-amarok @@ -0,0 +1,16 @@ +#!/bin/bash + +DEVICE=$@ + +if [ -n "$DEVICE" ];then + if [ ${DEVICE:0:7} = "audiocd" ]; then + amarok --cdplay ${DEVICE#*=} + elif [ ${DEVICE:0:1} = "/" ]; then + amarok --cdplay `dcop kded mediamanager fullList | grep -B1 $DEVICE | head -n1` + else + amarok --cdplay /dev/cdrom + fi +else + amarok --cdplay /dev/cdrom +fi + |