reLyX rpm fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1900 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2001-04-05 12:35:38 +00:00
parent e59e72d1d1
commit e44a3c0b66
2 changed files with 11 additions and 0 deletions

View File

@ -7,3 +7,7 @@
* Code_rules/Recommendations: * Code_rules/Recommendations:
* Code_rules/Rules: update, add some comments, * Code_rules/Rules: update, add some comments,
spelling and grammar spelling and grammar
2001-04-03 Kayvan Sylvan <kayvan@sylvan.com>
* Fix lyx.spec.in handling on reLyX with RPM relocation.

View File

@ -87,6 +87,13 @@ echo "Configuring LyX for your system..."
cd $RPM_INSTALL_PREFIX/share/lyx cd $RPM_INSTALL_PREFIX/share/lyx
./configure --srcdir ./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 %post -n tetex-lyx
# Fix the TeX file hash # Fix the TeX file hash
# #