reLyX rpm fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@1901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-04-05 12:35:39 +00:00
parent 567618e796
commit 3efcce37c5

View File

@ -87,6 +87,13 @@ echo "Configuring LyX for your system..."
cd $RPM_INSTALL_PREFIX/share/lyx
./configure --srcdir
# Fix reLyX perl program if the prefix is non-standard
if [ "$RPM_INSTALL_PREFIX" != "/usr" ]
then
perl -pi -e "s!/usr/share/lyx!$RPM_INSTALL_PREFIX/share/lyx!" \
${RPM_INSTALL_PREFIX}/bin/reLyX
fi
%post -n tetex-lyx
# Fix the TeX file hash
#