1 |
commit: 57e379ccf655a2c767260f3c298a9c7edf290d52 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 20 10:18:45 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 20 10:19:06 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e379cc |
7 |
|
8 |
texlive-common.eclass: kill even more POSIXism |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
eclass/texlive-common.eclass | 3 +-- |
13 |
1 file changed, 1 insertion(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/texlive-common.eclass b/eclass/texlive-common.eclass |
16 |
index 726f94dacfc..4e6795b2d98 100644 |
17 |
--- a/eclass/texlive-common.eclass |
18 |
+++ b/eclass/texlive-common.eclass |
19 |
@@ -85,8 +85,7 @@ texlive-common_do_symlinks() { |
20 |
if [[ $1 = $2 ]]; |
21 |
then |
22 |
einfo "Symlink $1 -> $2 skipped" |
23 |
- elif [[ -e ${ED}/usr/bin/$1 -o -L ${ED}/usr/bin/$1 ]]; |
24 |
- then |
25 |
+ elif [[ -e ${ED}/usr/bin/$1 || -L ${ED}/usr/bin/$1 ]]; then |
26 |
einfo "Symlink $1 skipped (file exists)" |
27 |
else |
28 |
einfo "Making symlink from $1 to $2" |