mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2026-02-02 07:35:10 +01:00
chore: cleanup
This commit is contained in:
parent
3c10dc2d7c
commit
461b07a116
4 changed files with 11 additions and 5 deletions
|
|
@ -44,10 +44,13 @@ Expose your module as executable (`chmod u+x`) in `PATH`, and done!
|
|||
|
||||
## `LIB` directories
|
||||
|
||||
If exposing modules in `PATH` annoys you, you can set the `_PR_LIB` environment variable to specify directories to find the modules, separated by `:` (analogous to `PATH`). The variable can be set either runtime or compile-time.
|
||||
If exposing modules in `PATH` annoys you, you can set the `_PR_LIB` environment variable to specify directories to find the modules, separated by `:` (analogous to `PATH`):
|
||||
|
||||
Example in a [FHS 3.0 compliant system](https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s06.html):
|
||||
```shell
|
||||
# compile-time
|
||||
export _DEF_PR_LIB="/usr/lib:$HOME/.local/share"
|
||||
# runtime
|
||||
export _PR_LIB="/usr/lib:$HOME/.local/share"
|
||||
```
|
||||
This is not the default as there is no general way to know its value and depends on distribution (`/usr/lib`, `/usr/libexec`, `/data/data/com.termux/files/usr/libexec`, etc.). System programs usually have a hard-coded path looking for `lib`. If you are a package maintainer for a distribution, setting this value when compiling, so it fits into your distribution standard.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue