Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=texlive2013.git;a=commitdiff;h=4224f11c06ab8bf5829d032905475a80526c6497
commit 4224f11c06ab8bf5829d032905475a80526c6497 Author: Elentir <[email protected]> Date: Thu Sep 5 20:18:08 2013 +0200 texlive-20130530-4-x86_64 * fix broken symlinks diff --git a/source/xapps-extra/texlive/FrugalBuild b/source/xapps-extra/texlive/FrugalBuild index b0db911..0e6cce5 100644 --- a/source/xapps-extra/texlive/FrugalBuild +++ b/source/xapps-extra/texlive/FrugalBuild @@ -3,7 +3,7 @@ pkgname=texlive pkgver=20130530 -pkgrel=3 +pkgrel=4 pkgdesc="A complete TeX distribution" archs=('i686' 'x86_64') depends=('t1lib' 'gd' 'ncurses' 'poppler>=0.20.3' 'icu4c>=4.8' 'zlib=1.2.7') @@ -121,17 +121,14 @@ build() { if [ -L $f ]; then target=`ls -l "$f" | sed 's/^.\+ -> //'` if [[ "$target" == ..* ]]; then - newtarget=`echo $target | sed -e 's#../#/usr/#'` - rm -f $f - ln -s $newtarget $f + newtarget=`echo $target | sed -e 's#\.\./#/usr/#'` + newtarget=`echo $newtarget | sed -e 's#\*##'` + ln -sf $newtarget $f test -f $Fdestdir/$newtarget && chmod a+x $Fdestdir/$newtarget fi fi done - ## this link is not created by texlinks anymore - Frm usr/bin/mfplain - # remove asymptote, we already have this =) Frm usr/share/texmf-dist/asymptote Frm usr/share/texmf-dist/doc/asymptote _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
