void-packages/srcpkgs/gnome-keyring/INSTALL

13 lines
328 B
Plaintext
Raw Normal View History

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