#How should I set an environement variable from a PKGBUILD

1 messages · Page 1 of 1 (latest)

cyan cypress
#

Hello, I just want to know what's the best way to set an environement variable from a PKGBUILD (to be permanent, it will be used by the application I'm installing) ?
Should I add a file in /etc/profile.d/ or is there a better solution for that ?

normal token
#

/etc/environment ?

#

check the archwiki, might help to find the best solution for a PKGBUILD, giving the most general and robust application.