Created
August 15, 2023 12:58
-
-
Save konsolebox/f589a528d2a2fd2bac928e504a38e76a to your computer and use it in GitHub Desktop.
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
diff --git a/libs/core.bash.in b/libs/core.bash.in | |
index 2800cc5..a3791ba 100644 | |
--- a/libs/core.bash.in | |
+++ b/libs/core.bash.in | |
@@ -113,6 +113,9 @@ do_action() { | |
|| die -q "Action ${subaction} unknown" | |
check_do "do_${subaction}" "$@" | |
fi | |
+ if [[ $? -eq 0 && -e /etc/eselect/hooks/${ESELECT_MODULE_NAME}/${subaction} ]]; then | |
+ source "/etc/eselect/hooks/${ESELECT_MODULE_NAME}/${subaction}" | |
+ fi | |
) | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment