mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 03:48:57 +00:00
10 lines
248 B
Bash
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)
|
|
|