mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
e59e72d1d1
commit
e44a3c0b66
@ -7,3 +7,7 @@
|
||||
* Code_rules/Recommendations:
|
||||
* Code_rules/Rules: update, add some comments,
|
||||
spelling and grammar
|
||||
|
||||
2001-04-03 Kayvan Sylvan <kayvan@sylvan.com>
|
||||
|
||||
* Fix lyx.spec.in handling on reLyX with RPM relocation.
|
||||
|
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user