void-packages/srcpkgs/postgresql12/files/profile.sh
2020-07-06 22:03:52 +02:00

14 lines
189 B
Bash

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