Dr. Werner Fink 2019-03-05 12:43:41 +00:00 committed by Git OBS Bridge
parent e9cd66710e
commit 9106a65f1b

View File

@ -493,11 +493,11 @@ EOF
%post -p /bin/bash
%{_sbindir}/update-alternatives --quiet --force \
--install %{_bindir}/sh sh %{_bindir}/bash 10100
ln -sf %{_bindir}/sh /bin/sh
%preun -p /bin/bash
if test "$1" = 0; then
%{_sbindir}/update-alternatives --quiet --remove sh %{_bindir}/bash
ln -sf %{_bindir}/sh /bin/sh
fi
%post doc