nixpkgs/pkgs/development/libraries/dleyna-core/setup-hook.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
264 B
Bash
Raw Normal View History

2017-08-30 22:22:49 +00:00
addDleynaConnectorPath () {
if test -d "$1/lib/dleyna-1.0/connectors"
then
export DLEYNA_CONNECTOR_PATH="${DLEYNA_CONNECTOR_PATH-}${DLEYNA_CONNECTOR_PATH:+:}$1/lib/dleyna-1.0/connectors"
2017-08-30 22:22:49 +00:00
fi
}
2018-01-07 20:27:27 +00:00
addEnvHooks "$targetOffset" addDleynaConnectorPath