[ksh] post section was specified twice
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Sep 14 11:09:15 UTC 2012
commit 96967516fa8b350e8becdb71b382965ed509a920
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Sep 14 13:09:00 2012 +0200
post section was specified twice
ksh.spec | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/ksh.spec b/ksh.spec
index 0da387b..733bead 100644
--- a/ksh.spec
+++ b/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
More information about the scm-commits
mailing list