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