mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-21 21:09:42 +00:00
Merge 9ffed14ae9
into 79eb752552
This commit is contained in:
commit
c71afd422e
|
@ -58,7 +58,15 @@ paru -S linutil
|
||||||
Replace `paru` with your preferred helper and `linutil` with your preferred package.
|
Replace `paru` with your preferred helper and `linutil` with your preferred package.
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary>OpenSUSE</summary>
|
||||||
|
|
||||||
|
Linutil can be installed on OpenSUSE with:
|
||||||
|
```bash
|
||||||
|
sudo zypper install linutil
|
||||||
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
<details>
|
<details>
|
||||||
<summary>Cargo</summary>
|
<summary>Cargo</summary>
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,10 @@ installLinutil() {
|
||||||
esac
|
esac
|
||||||
printf "%b\n" "${GREEN}Installed successfully.${RC}"
|
printf "%b\n" "${GREEN}Installed successfully.${RC}"
|
||||||
;;
|
;;
|
||||||
|
zypper)
|
||||||
|
"$ESCALATION_TOOL" "$PACKAGER" install linutil -y
|
||||||
|
printf "%b\n" "${GREEN}Installed successfully.${RC}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
printf "%b\n" "${RED}There are no official packages for your distro.${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}"
|
printf "%b" "${YELLOW}Do you want to install the crates.io package? (y/N): ${RC}"
|
||||||
|
@ -40,11 +44,6 @@ installLinutil() {
|
||||||
dnf)
|
dnf)
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -y rustup
|
"$ESCALATION_TOOL" "$PACKAGER" install -y rustup
|
||||||
;;
|
;;
|
||||||
zypper)
|
|
||||||
"$ESCALATION_TOOL" "$PACKAGER" install -n curl gcc make
|
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
||||||
. $HOME/.cargo/env
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
. $HOME/.cargo/env
|
. $HOME/.cargo/env
|
||||||
|
|
Loading…
Reference in New Issue
Block a user