wip
This commit is contained in:
parent
e8471c71c1
commit
2dbbc8854d
1 changed files with 10 additions and 10 deletions
20
README.ai.md
20
README.ai.md
|
@ -23,13 +23,13 @@ rm "$import"
|
||||||
|
|
||||||
After importing, these boolean variables are available for distribution checks:
|
After importing, these boolean variables are available for distribution checks:
|
||||||
|
|
||||||
$arch - true/false for Arch Linux and derivatives
|
`$arch` - true/false for Arch Linux and derivatives </br>
|
||||||
$debian - true/false for Debian and derivatives
|
`$debian` - true/false for Debian and derivatives </br>
|
||||||
$ubuntu - true/false for Ubuntu and derivatives
|
`$ubuntu` - true/false for Ubuntu and derivatives </br>
|
||||||
$fedora - true/false for Fedora and derivatives
|
`$fedora` - true/false for Fedora and derivatives </br>
|
||||||
$opensuse - true/false for openSUSE
|
`$opensuse` - true/false for openSUSE </br>
|
||||||
$alpine - true/false for Alpine Linux
|
`$alpine` - true/false for Alpine Linux </br>
|
||||||
$distro - contains the detected distro name (e.g. "arch", "debian")
|
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..) </br>
|
||||||
|
|
||||||
Example usage:
|
Example usage:
|
||||||
|
|
||||||
|
@ -48,9 +48,9 @@ esac
|
||||||
|
|
||||||
1. Package Management:
|
1. Package Management:
|
||||||
|
|
||||||
\_install pkg1 pkg2 - Installs packages using the correct package manager
|
`\_install pkg1 pkg2` - Installs packages using the correct package manager
|
||||||
\_remove pkg1 pkg2 - Removes packages (CAUTION: no confirmation!)
|
`\_remove pkg1 pkg2` - Removes packages (CAUTION: no confirmation!)
|
||||||
checkAndInstall pkg1 pkg2 - Checks if command exists, installs if missing
|
`checkAndInstall pkg1 pkg2` - Checks if command exists, installs if missing
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue