Created
July 27, 2021 16:17
-
-
Save akx/544fc126eed19139c29b10e0958e2f3d to your computer and use it in GitHub Desktop.
/pacman.d/hooks/bless-node.hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Type = Package | |
Target = nodejs | |
[Action] | |
Description = Blessing Node.js for Bluetooth | |
When = PostTransaction | |
Exec = /bin/bash -c '/usr/bin/setcap cap_net_raw+eip $(eval readlink -f `which node`)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment