fix changelog fix:rpmlint:dangerous-command-in-%postun
This commit is contained in:
parent
d380aa41d7
commit
e9c80e424b
6
ksh.spec
6
ksh.spec
@ -63,9 +63,7 @@ fi
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ ! -f /bin/ksh ]; then
|
if [ ! -f /bin/ksh ]; then
|
||||||
grep -v '^/bin/ksh$' /etc/shells >/etc/shells.new
|
sed -i '/^\/bin\/ksh$/ d' /etc/shells
|
||||||
mv /etc/shells.new /etc/shells
|
|
||||||
chmod 644 /etc/shells
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%verifyscript
|
%verifyscript
|
||||||
@ -90,7 +88,7 @@ fi
|
|||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 21 2008 Michal Hlavinka <mhlavink@redhat.com> 20080202-4
|
* Tue Jan 20 2009 Michal Hlavinka <mhlavink@redhat.com> 20091104-1
|
||||||
- update to 2008-11-04
|
- update to 2008-11-04
|
||||||
- ast-ksh-locales are not useable remove them
|
- ast-ksh-locales are not useable remove them
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user