[PATCH] default config files location (Re: [MPlayer-dev-eng] Wishlist)

Dominik Mierzejewski dominik at rangers.eu.org
Wed Aug 28 10:03:22 CEST 2002


On Wednesday, 28 August 2002, Diego Biurrun wrote:
[...]
> In the meantime we can start collecting wishlist items:
[...]
>  * settle for config location /usr/share/mplayer/ vs /etc/mplayer/

IMHO it should be as follows:
default - /usr/local/etc/mplayer/
binary packages - /etc/mplayer/

Patch attached.

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
--- MPlayer-20020828/configure.confpath	Wed Aug 28 02:17:40 2002
+++ MPlayer-20020828/configure	Wed Aug 28 09:59:51 2002
@@ -1273,7 +1273,7 @@
 
 # Atmos: moved this here, to be correct, if --prefix is specified
 test -z "$_datadir" && _datadir="$_prefix/share/mplayer"
-test -z "$_confdir" && _confdir="$_datadir"
+test -z "$_confdir" && _confdir="$_prefix/etc/mplayer"
 test -z "$_libdir" && _libdir="$_prefix/lib"
 test -z "$_mlibdir" && _mlibdir="$MLIBHOME"
 


More information about the MPlayer-dev-eng mailing list