post section was specified twice
This commit is contained in:
parent
ae81b91215
commit
96967516fa
5
ksh.spec
5
ksh.spec
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user