mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 02:54:09 +00:00
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:
parent
567618e796
commit
3efcce37c5
@ -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
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user