post section was specified twice

This commit is contained in:
Michal Hlavinka 2012-09-14 13:09:00 +02:00
parent ae81b91215
commit 96967516fa

View File

@ -66,9 +66,6 @@ install -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/skel/.kshrc
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kshrc
install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/binfmt.d/kshcomp.conf
%post
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
%check
%if 0%{?rhel} > 6
%ifarch s390
@ -103,6 +100,8 @@ else
fi
fi
/bin/systemctl try-restart systemd-binfmt.service >/dev/null 2>&1 || :
%postun
if [ ! -f /bin/ksh ]; then
sed -i '/^\/bin\/ksh$/ d' /etc/shells