SHA256
1
0
forked from pool/lyx
lyx/SuSEconfig.lyx

22 lines
403 B
Bash

#!/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