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