depot/third_party/nixpkgs/pkgs/by-name/gr/grilo/setup-hook.sh

7 lines
186 B
Bash

make_grilo_find_plugins() {
if [ -d "$1"/lib/grilo-0.3 ]; then
addToSearchPath GRL_PLUGIN_PATH "$1/lib/grilo-0.3"
fi
}
addEnvHooks "$hostOffset" make_grilo_find_plugins