1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/libraries/gettext/gettext-setup-hook.sh
2018-01-06 15:11:12 +01:00

8 lines
178 B
Bash

gettextDataDirsHook() {
if [ -d "$1/share/gettext" ]; then
addToSearchPath GETTEXTDATADIRS "$1/share/gettext"
fi
}
addEnvHooks "$hostOffset" gettextDataDirsHook