Sophie

Sophie

distrib > Mandriva > cooker > x86_64 > by-pkgid > 90323c99b96d9566712a7fa388628d06 > scriptlet

configure-trackpoint-0.6-5mdv2011.0.x86_64.rpm

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