This commit is contained in:
parent
99a19525a5
commit
2d2bb753f4
@ -642,7 +642,7 @@ fi
|
|||||||
%postun servlet-4_0-api
|
%postun servlet-4_0-api
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
if [ ! -f %{_sysconfdir}/alternatives/servlet ]; then
|
if [ ! -f %{_sysconfdir}/alternatives/servlet ]; then
|
||||||
# %{_sysconfdir}/alternatives/servlet was removed on uninstall.
|
# /etc/alternatives/servlet was removed on uninstall.
|
||||||
# Create a broken symlink to make sure update-alternatives works correctly and falls back
|
# Create a broken symlink to make sure update-alternatives works correctly and falls back
|
||||||
# to servletapi5 or servletapi4 if they're installed.
|
# to servletapi5 or servletapi4 if they're installed.
|
||||||
ln -s %{_javadir}/%{name}-servlet-%{servletspec}-api.jar %{_sysconfdir}/alternatives/servlet
|
ln -s %{_javadir}/%{name}-servlet-%{servletspec}-api.jar %{_sysconfdir}/alternatives/servlet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user