Skip to content

Commit

Permalink
eclass: texlive-common.eclass: Fix long standing bug: Do not overwrit…
Browse files Browse the repository at this point in the history
…e existing symlinks.

The bug has been here since the beginning but surprisingly enough, it was only noticed now in bug #560722.
  • Loading branch information
aballier committed Sep 21, 2015
1 parent 30c23bb commit c4290c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/texlive-common.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4290c1

Please sign in to comment.