2011-10-05 08:30:43 +00:00
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-10-05 08:51:13 +00:00
|
|
|
# Set IPC capability, exit gracefully if we cannot set the capability
|
|
|
|
# due to invalid permissions (fakeroot install).
|
|
|
|
set +e
|
2011-10-05 08:30:43 +00:00
|
|
|
setcap cap_ipc_lock=ep usr/bin/gnome-keyring-daemon
|
2011-10-05 08:51:13 +00:00
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
echo "ERROR: failed to set ipc_lock capability on gnome-keyring-daemon."
|
|
|
|
exit 0
|
|
|
|
fi
|
2011-10-05 08:30:43 +00:00
|
|
|
;;
|
|
|
|
esac
|