Fix jdt pre scriptlet.

This commit is contained in:
Alexander Kurtakov 2011-09-12 12:50:05 +03:00
parent 656d313bbf
commit 6d17c3589a
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%pre javadoc
%pre jdt
# workaround for rpm bug, can be removed in F-20 Fixes the problem with efj being directory instead of launcher
[ $1 -gt 1 ] && [ -L %{_bindir}/efj ] && \
rm -rf $(readlink -f %{_bindir}/efj) %{_bindir}/efj || :