mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-25 06:24:26 +00:00
Compare commits
20 Commits
34fb8eda7f
...
643df88a4b
Author | SHA1 | Date | |
---|---|---|---|
|
643df88a4b | ||
|
9ffed14ae9 | ||
|
c4ec574737 | ||
|
263fafb20e | ||
|
8fe8679101 | ||
|
3f4aa03aa1 | ||
|
d718fe55ff | ||
|
2af6596efd | ||
|
dc93e74b65 | ||
|
084cd0f116 | ||
|
34b0dfc485 | ||
|
54f7e462ec | ||
|
9215033b83 | ||
|
235c084247 | ||
|
0d23986c8d | ||
|
3a63991e13 | ||
|
e855935301 | ||
|
182c8925ca | ||
|
9e781b4d2a | ||
|
728c1f5e38 |
|
@ -58,7 +58,15 @@ paru -S linutil
|
|||
Replace `paru` with your preferred helper and `linutil` with your preferred package.
|
||||
|
||||
</details>
|
||||
<details>
|
||||
<summary>OpenSUSE</summary>
|
||||
|
||||
Linutil can be installed on OpenSUSE with:
|
||||
```bash
|
||||
sudo zypper install linutil
|
||||
```
|
||||
|
||||
</details>
|
||||
<details>
|
||||
<summary>Cargo</summary>
|
||||
|
||||
|
|
|
@ -25,6 +25,10 @@ installLinutil() {
|
|||
esac
|
||||
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" "${YELLOW}Do you want to install the crates.io package? (y/N): ${RC}"
|
||||
|
@ -40,11 +44,6 @@ installLinutil() {
|
|||
dnf)
|
||||
"$ESCALATION_TOOL" "$PACKAGER" install -y curl rustup man-pages man-db man
|
||||
;;
|
||||
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
|
||||
. $HOME/.cargo/env
|
||||
|
|
Loading…
Reference in New Issue
Block a user