This commit is contained in:
pika 2025-05-20 17:28:38 +02:00
parent 2dbbc8854d
commit b0a62cdd42

View file

@ -29,7 +29,7 @@ After importing, these boolean variables are available for distribution checks:
`$fedora` - true/false for Fedora and derivatives </br>
`$opensuse` - true/false for openSUSE </br>
`$alpine` - true/false for Alpine Linux </br>
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..) </br>
`$distro` - contains the detected distro name (e.g. "arch", "debian", "fedora"..)
Example usage:
@ -48,8 +48,8 @@ esac
1. Package Management:
`\_install pkg1 pkg2` - Installs packages using the correct package manager
`\_remove pkg1 pkg2` - Removes packages (CAUTION: no confirmation!)
`\_install pkg1 pkg2` - Installs packages using the correct package manager </br>
`\_remove pkg1 pkg2` - Removes packages (CAUTION: no confirmation!) </br>
`checkAndInstall pkg1 pkg2` - Checks if command exists, installs if missing
Example: