summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:46:43 +0300
committerMikle Kolyada <zlogene@gentoo.org>2020-01-20 13:49:38 +0300
commitc2014cee0296e18d28445dca334a07b22cae6af0 (patch)
treedf1802767a1206b3bc5f82096c4c301fe82cac1e /eclass/texlive-common.eclass
parentRevert "texlive-module.eclass: fix a typo" (diff)
downloadgentoo-c2014cee0296e18d28445dca334a07b22cae6af0.tar.gz
gentoo-c2014cee0296e18d28445dca334a07b22cae6af0.tar.bz2
gentoo-c2014cee0296e18d28445dca334a07b22cae6af0.zip
Revert "texlive-common.eclass: kill even more POSIXism"
This reverts commit 57e379ccf655a2c767260f3c298a9c7edf290d52. 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, 2 insertions, 1 deletions
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass
index 4e6795b2d981..726f94dacfce 100644
--- a/eclass/texlive-common.eclass
+++ b/eclass/texlive-common.eclass
@@ -85,7 +85,8 @@ texlive-common_do_symlinks() {
if [[ $1 = $2 ]];
then
einfo "Symlink $1 -> $2 skipped"
- elif [[ -e ${ED}/usr/bin/$1 || -L ${ED}/usr/bin/$1 ]]; then
+ elif [[ -e ${ED}/usr/bin/$1 -o -L ${ED}/usr/bin/$1 ]];
+ then
einfo "Symlink $1 skipped (file exists)"
else
einfo "Making symlink from $1 to $2"