SHA256
3
0
forked from pool/bash
Dr. Werner Fink 2019-03-05 12:43:41 +00:00 committed by Git OBS Bridge
parent a3eaf13b4c
commit 8407c37156

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