gnome-vlc-default.sh is a script but i don't think it has anything to do in $PREFIX...
authorChristophe Mutricy <xtophe@videolan.org>
Fri, 20 Apr 2007 23:55:02 +0000 (23:55 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Fri, 20 Apr 2007 23:55:02 +0000 (23:55 +0000)
share/Makefile.am
share/applications/gnome-vlc-default.sh [deleted file]
share/utils/gnome-vlc-default.sh [new file with mode: 0755]

index 2df5c30..e4f9dbc 100644 (file)
@@ -13,6 +13,7 @@ dist_pkgdata_DATA = \
        $(DIST_icons128)
 
 nobase_dist_pkgdata_DATA = \
+       utils/gnome-vlc-default.sh \
        $(DIST_skins2) \
        $(DIST_http) \
        $(DIST_osdmenu_default) \
@@ -20,7 +21,6 @@ nobase_dist_pkgdata_DATA = \
 
 nobase_pkgdata_DATA = skins2/default.vlt
 nobase_data_DATA = applications/vlc.desktop
-nobase_dist_bin_SCRIPTS = applications/gnome-vlc-default.sh
 
 applications/vlc.desktop: applications/vlc.desktop.in $(top_builddir)/config.status
        cd "$(top_builddir)" && \
diff --git a/share/applications/gnome-vlc-default.sh b/share/applications/gnome-vlc-default.sh
deleted file mode 100644 (file)
index 03ec5c5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-# share/applications/gnome-vlc-default.sh
-# $Id$
-#
-# Copyright (C) 2006, VideoLAN team
-# Authors: Torsten Spindler
-#          Jean-Paul Saman <jpsaman _at_ videolan dot org>
-#
-# Set vlc as default player on the gnome desktop
-# Tested on Ubuntu 6.10 Edgy
-#
-GCONFTOOL=gconftool
-if test -x /usr/bin/gconftool; then
-       GCONFTOOL=/usr/bin/gconftool
-       OPTS="-t string -s"
-fi
-if test -x /usr/bin/gconftool-2; then
-       GCONFTOOL=/usr/bin/gconftool-2
-       OPTS="--type string --set"
-fi
-$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_vcd_command "vlc %m"
-$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mms "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mmsh "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtsp "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtp "vlc %s"
-
-exit 0
diff --git a/share/utils/gnome-vlc-default.sh b/share/utils/gnome-vlc-default.sh
new file mode 100755 (executable)
index 0000000..03ec5c5
--- /dev/null
@@ -0,0 +1,28 @@
+#!/bin/sh
+# share/applications/gnome-vlc-default.sh
+# $Id$
+#
+# Copyright (C) 2006, VideoLAN team
+# Authors: Torsten Spindler
+#          Jean-Paul Saman <jpsaman _at_ videolan dot org>
+#
+# Set vlc as default player on the gnome desktop
+# Tested on Ubuntu 6.10 Edgy
+#
+GCONFTOOL=gconftool
+if test -x /usr/bin/gconftool; then
+       GCONFTOOL=/usr/bin/gconftool
+       OPTS="-t string -s"
+fi
+if test -x /usr/bin/gconftool-2; then
+       GCONFTOOL=/usr/bin/gconftool-2
+       OPTS="--type string --set"
+fi
+$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_vcd_command "vlc %m"
+$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m"
+$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mms "vlc %s"
+$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mmsh "vlc %s"
+$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtsp "vlc %s"
+$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtp "vlc %s"
+
+exit 0