runtime-cleanup: correctly clean up kbd

The 'removefrom kbd' line wasn't deleting anything because it was
looking in the wrong place. It was also kind of wordy.

This version should keep the needed binaries and remove the stuff we
don't need, as intended.
This commit is contained in:
Will Woods 2012-05-23 17:51:14 -04:00
parent a6d3b9355b
commit 46b405d40a
1 changed files with 1 additions and 5 deletions

View File

@ -223,11 +223,7 @@ removefrom hwdata /usr/share/hwdata/upgradelist
removefrom initscripts /etc/ppp/* /usr/sbin/* /usr/share/locale/*
removefrom iproute --allbut /usr/sbin/{ip,routef,routel,rtpr}
removefrom iscsi-initiator-utils /etc/rc.d/*
removefrom kbd \
/usr/bin/{chvt,deallocvt,fgconsole,getkeycodes,kbdinfo,kbdrate,loadunimap,\
mapscrn,open,openvt,psfaddtable,psfgettable,psfstriptable,psfxtable,\
setkeycodes,setleds,setmetamode,setvtrgb,showconsolefont,showkey} \
/usr/share/locale/*
removefrom kbd --allbut */bin/{dumpkeys,kbd_mode,loadkeys,setfont,unicode_*}
removefrom krb5-libs /etc/* /${libdir}/libgssrpc* /usr/${libdir}/*
removefrom less /etc/*
removefrom libX11-common /usr/share/X11/XErrorDB