This commit is contained in:
solomoncyj 2024-10-20 09:22:10 +00:00 committed by GitHub
commit a29ad9f5a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View File

@ -29,6 +29,7 @@ curl -fsSL https://christitus.com/linuxdev | sh
Linutil is also available as a package in various repositories:
[![Packaging status](https://repology.org/badge/vertical-allrepos/linutil.svg)](https://repology.org/project/linutil/versions)
[![build result](https://build.opensuse.org/projects/openSUSE:Factory/packages/linutil/badge.svg?type=percent)](https://build.opensuse.org/package/show/openSUSE:Factory/linutil)
<details>
<summary>Arch Linux</summary>
@ -58,7 +59,14 @@ paru -S linutil
Replace `paru` with your preferred helper and `linutil` with your preferred package.
</details>
<details>
<summary>OpenSUSE</summary>
###just run:
```bash
sudo zypper install linutil
```
</details>
<details>
<summary>Cargo</summary>

View File

@ -25,6 +25,10 @@ installLinutil() {
esac
printf "%b\n" "${GREEN}Installed successfully.${RC}"
;;
zypper)
"$ESCALATION_TOOL" "$PACKAGER" install linutil
printf "%b\n" "${GREEN}Installed successfully.${RC}"
;;
*)
printf "%b\n" "${RED}There are no official packages for your distro.${RC}"
printf "%b" "${YELLOW}Do you want to install the crates.io package? (y/N): ${RC}"