void-packages/srcpkgs/postgresql14/files/profile.sh
2021-12-18 15:05:21 +01:00

14 lines
189 B
Bash

appendpath () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
appendpath '/@PREFIX@/bin'
unset appendpath
export PATH