PREUN
/bin/sh
/usr/share/rpm-helper/del-service configure-trackpoint $1 trackpoint
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service configure-trackpoint $1 trackpoint consoleperms=/etc/security/console.perms if ! `grep -q "/proc/trackpoint/" $consoleperms` ; then echo "adding entry for /proc/trackpoint/* to your $consoleperms" cat >> $consoleperms << EOF # Added by configure-trackpoint to allow user access to /proc/trackpoint <console> 0600 /proc/trackpoint/* 0600 root EOF fi