Created
December 3, 2020 07:58
-
-
Save kugland/1ba33095e6b3331c46b5238dfd569150 to your computer and use it in GitHub Desktop.
Pacman Hook: Make sure baloo executables are links to /bin/true
This file contains hidden or 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
# /usr/share/libalpm/hooks/remove-baloo.hook | |
[Trigger] | |
Operation = Install | |
Operation = Upgrade | |
Operation = Remove | |
Type = Package | |
Target = * | |
[Action] | |
Description = Make sure baloo executables are links to /bin/true | |
Depends = coreutils | |
When = PostTransaction | |
Exec = /bin/sh -c 'for f in /usr/lib/baloorunner /usr/bin/baloo_file /usr/bin/baloo_file_extractor /usr/bin/baloo_filemetadata_temp_extractor; do /bin/ln -sf /bin/true "$f"; done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment