From e9c80e424b31c544a4d9c9d35b1220f16a98ef11 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Jan 20 2009 12:31:42 +0000 Subject: fix changelog fix:rpmlint:dangerous-command-in-%postun --- diff --git a/ksh.spec b/ksh.spec index 1d296b8..2c1ce74 100644 --- a/ksh.spec +++ b/ksh.spec @@ -63,9 +63,7 @@ fi %postun if [ ! -f /bin/ksh ]; then - grep -v '^/bin/ksh$' /etc/shells >/etc/shells.new - mv /etc/shells.new /etc/shells - chmod 644 /etc/shells + sed -i '/^\/bin\/ksh$/ d' /etc/shells fi %verifyscript @@ -90,7 +88,7 @@ fi rm -rf $RPM_BUILD_ROOT %changelog -* Tue Oct 21 2008 Michal Hlavinka 20080202-4 +* Tue Jan 20 2009 Michal Hlavinka 20091104-1 - update to 2008-11-04 - ast-ksh-locales are not useable remove them