nixpkgs/pkgs/development/libraries/dleyna-core/setup-hook.sh
2017-11-15 14:02:36 +01:00

10 lines
248 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
}
envHooks+=(addDleynaConnectorPath)