wip
This commit is contained in:
parent
b9175be395
commit
7682b115e5
1 changed files with 13 additions and 0 deletions
13
README.ai.md
13
README.ai.md
|
@ -31,6 +31,15 @@ After importing, these boolean variables are available for distribution checks:
|
||||||
`$alpine` - true/false for Alpine Linux </br>
|
`$alpine` - true/false for Alpine Linux </br>
|
||||||
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..)
|
`$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:
|
Example usage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -46,6 +55,10 @@ esac
|
||||||
|
|
||||||
### CORE FUNCTIONS
|
### CORE FUNCTIONS
|
||||||
|
|
||||||
|
0.1 Permissions/sudo:
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
1. Package Management:
|
1. Package Management:
|
||||||
|
|
||||||
`_install pkg1 pkg2` - Installs packages using the correct package manager </br>
|
`_install pkg1 pkg2` - Installs packages using the correct package manager </br>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue