mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +00:00
Always-install-en-as-default-manpage-patch by Andreas Hess <jaska@gmx.net>.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9577 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b0bbf9c766
commit
8bd3a05ea7
3
configure
vendored
3
configure
vendored
@ -1625,7 +1625,7 @@ echores "$_setlocale"
|
||||
echocheck "language"
|
||||
test -z "$_language" && _language=$LINGUAS
|
||||
_language=`echo $_language | sed 's/,/ /g'`
|
||||
echo $_language | grep all > /dev/null || LANGUAGES=$_language
|
||||
echo $_language | grep all > /dev/null || LANGUAGES="$_language en"
|
||||
for i in $_language ; do
|
||||
test "$i" = all && i=en
|
||||
if test -f "help/help_mp-${i}.h" ; then
|
||||
@ -1644,7 +1644,6 @@ for i in $LANGUAGES ; do
|
||||
LANGUAGES=`echo $LANGUAGES | sed "s/$i *//g" | sed 's/ *$//'`
|
||||
fi
|
||||
done
|
||||
test -z "$LANGUAGES" && LANGUAGES=en
|
||||
echores "using $_language (man pages: $LANGUAGES)"
|
||||
_mp_help="help/help_mp-${_language}.h"
|
||||
test -f $_mp_help || die "$_mp_help not found"
|
||||
|
Loading…
Reference in New Issue
Block a user