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

9 lines
263 B
Bash
Raw Normal View History

2017-08-31 00:22:49 +02: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"
fi
}
2018-01-07 21:27:27 +01:00
addEnvHooks "$targetOffset" addDleynaConnectorPath