summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:18:45 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:19:06 +0300
commit57e379ccf655a2c767260f3c298a9c7edf290d52 (patch)
treee9bffa83095f25cd75cbe402b93f44efa860c293 /eclass/texlive-common.eclass
parentmedia-libs/babl: Bump to version 0.1.74 (diff)
downloadgentoo-57e379ccf655a2c767260f3c298a9c7edf290d52.tar.gz
gentoo-57e379ccf655a2c767260f3c298a9c7edf290d52.tar.bz2
gentoo-57e379ccf655a2c767260f3c298a9c7edf290d52.zip
texlive-common.eclass: kill even more POSIXism
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'eclass/texlive-common.eclass')
-rw-r--r--eclass/texlive-common.eclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 726f94dacfce..4e6795b2d981 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -85,8 +85,7 @@ texlive-common_do_symlinks() {
if [[ $1 = $2 ]];
then
einfo "Symlink $1 -> $2 skipped"
- elif [[ -e ${ED}/usr/bin/$1 -o -L ${ED}/usr/bin/$1 ]];
- then
+ elif [[ -e ${ED}/usr/bin/$1 || -L ${ED}/usr/bin/$1 ]]; then
einfo "Symlink $1 skipped (file exists)"
else
einfo "Making symlink from $1 to $2"