Permalink
Browse files

install vlc instead of gnome-mplayer if kde is detected

  • Loading branch information...
1 parent 135ca7a commit 964faf85c66fcee8098012b2106ec1e8f862ad00 @satya164 satya164 committed Jun 1, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 plugins/InstallCodecs.sh
View
@@ -10,7 +10,12 @@ if [ -d /usr/share/doc/gstreamer-plugins-ugly* ]; then
StatusMsg "GStreamer plugins already installed"
else
RPMFusion
-InstallPkg gnome-mplayer gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg faac faad2 libdca libmad libmatroska xvidcore
+InstallPkg gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly gstreamer-ffmpeg faac faad2 libdca libmad libmatroska xvidcore
+fi
+if ( [ "$(pidof ksmserver)" ] ); then
+InstallPkg vlc phonon-backend-vlc
+else
+InstallPkg gnome-mplayer
fi
# Install MPlayer Codecs if Architecture is 32-bit
if [ $(uname -i) = "i386" ]; then

0 comments on commit 964faf8

Please sign in to comment.