diff --git a/yash.spec b/yash.spec index 75894f6..aa64f8f 100644 --- a/yash.spec +++ b/yash.spec @@ -4,7 +4,7 @@ %global repoid 48168 -%global mainver 3 +%global mainver 4 %global minorver b0 Name: yash @@ -82,7 +82,7 @@ make test || { sleep 3 ; cat tests/test.log ; sleep 3; exit 1; } %post if [ -f %{_sysconfdir}/shells ] then - grep -q '^/bin/yash$' || echo '/bin/yash' >> %{_sysconfdir}/shells + grep -q '^/bin/yash$' %{_sysconfdir}/shells || echo '/bin/yash' >> %{_sysconfdir}/shells else echo '/bin/yash' > %{_sysconfdir}/shells fi @@ -109,6 +109,9 @@ exit 0 %lang(ja) %doc %{name}-doc-%{version}%{?minorver}/* %changelog +* Tue Jul 13 2010 Mamoru Tasaka - 2.22-0.4.b0 +- Fix scriplet error + * Mon Jul 5 2010 Mamoru Tasaka - 2.22-0.3.b0 - Fix license tag for -doc subpackage