nixpkgs/pkgs/development/libraries/dleyna-core/setup-hook.sh
2018-01-07 21:27:27 +01:00

9 lines
263 B
Bash

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
}
addEnvHooks "$targetOffset" addDleynaConnectorPath