This commit is contained in:
pika 2025-05-20 21:21:43 +02:00
parent b9175be395
commit 7682b115e5

View file

@ -31,6 +31,15 @@ After importing, these boolean variables are available for distribution checks:
`$alpine` - true/false for Alpine Linux </br>
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..)
> [!TIP]
>
> `$_sudo` variable is set, if the user is not root, and sudo exists on the system. </br>
> So you can just use this syntax:
>
> ```bash
> $_sudo make install
> ```
Example usage:
```bash
@ -46,6 +55,10 @@ esac
### CORE FUNCTIONS
0.1 Permissions/sudo:
---
1. Package Management:
`_install pkg1 pkg2` - Installs packages using the correct package manager </br>