mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
eclass: texlive-common.eclass: Fix long standing bug: Do not overwrite existing symlinks.
The bug has been here since the beginning but surprisingly enough, it was only noticed now in bug #560722.
This commit is contained in:
@@ -85,7 +85,7 @@ texlive-common_do_symlinks() {
|
||||
if [ $1 = $2 ];
|
||||
then
|
||||
einfo "Symlink $1 -> $2 skipped"
|
||||
elif [ -e "${ED}/usr/bin/$1" ];
|
||||
elif [ -e "${ED}/usr/bin/$1" -o -L "${ED}/usr/bin/$1" ];
|
||||
then
|
||||
einfo "Symlink $1 skipped (file exists)"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user