mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Merge pull request #73 from NonameBlank007/master
Fix: Fixed package manager detection in void. Fixed installation instructions for systems that use dash as the default shell.
This commit is contained in:
@@ -51,7 +51,7 @@ https://github.com/user-attachments/assets/181d48c2-f152-45f5-b568-21145be180f6
|
||||
### Automatic Installation
|
||||
|
||||
```sh
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)"
|
||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/keyitdev/sddm-astronaut-theme/master/setup.sh)"
|
||||
```
|
||||
> Works on distributions using pacman, xbps-install, dnf, zypper.
|
||||
> Remember to always read the scripts you run from the internet.
|
||||
|
||||
@@ -74,7 +74,7 @@ spin() {
|
||||
|
||||
# Install gum if missing
|
||||
install_gum() {
|
||||
local mgr=$(for m in pacman xbps-install dnf zypper apt; do command -v $m &>/dev/null && { echo ${m%%-*}; break; }; done)
|
||||
local mgr=$(for m in pacman xbps-install dnf zypper apt; do command -v $m &>/dev/null && { echo $m; break; }; done)
|
||||
|
||||
case $mgr in
|
||||
pacman) sudo pacman -S gum ;;
|
||||
@@ -103,7 +103,7 @@ check_gum() {
|
||||
|
||||
# Install dependencies
|
||||
install_deps() {
|
||||
local mgr=$(for m in pacman xbps-install dnf zypper apt; do command -v $m &>/dev/null && { echo ${m%%-*}; break; }; done)
|
||||
local mgr=$(for m in pacman xbps-install dnf zypper apt; do command -v $m &>/dev/null && { echo $m; break; }; done)
|
||||
info "Package manager: $mgr"
|
||||
|
||||
case $mgr in
|
||||
|
||||
Reference in New Issue
Block a user