22 lines
403 B
Plaintext
22 lines
403 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
# get system wide LANG setting:
|
||
|
if [ -f /etc/sysconfig/lang ] ; then
|
||
|
. /etc/sysconfig/lang
|
||
|
export LANG=$RC_LANG
|
||
|
fi
|
||
|
|
||
|
if [ -z "$LANG" ]; then
|
||
|
export LANG="C"
|
||
|
fi
|
||
|
|
||
|
if test -x "/usr/share/lyx/configure"; then
|
||
|
echo "Running LyX configure script ..."
|
||
|
PWD=`pwd`
|
||
|
cd /usr/share/lyx
|
||
|
LANG=$LANG ./configure > /dev/null
|
||
|
cd $PWD
|
||
|
else
|
||
|
echo "Can not execute LyX configure script!"
|
||
|
fi
|