Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Void linux support #994

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/Developer-tools/meld-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ installMeld() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add meld
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y meld
;;
*)
checkFlatpak
flatpak install -y flathub org.gnome.meld
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/Developer-tools/neovim-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ installNeovim() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add neovim ripgrep fzf py3-virtualenv luarocks go shellcheck git
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y neovim ripgrep fzf python3-virtualenv luarocks go shellcheck git
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/Developer-tools/vscode-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ installVsCode() {
printf "%b\n" '[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc' | "$ESCALATION_TOOL" tee /etc/yum.repos.d/vscode.repo > /dev/null
"$ESCALATION_TOOL" "$PACKAGER" install -y code
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y vscode
;;
apk)
checkFlatpak
flatpak install -y flathub com.visualstudio.code
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/alacritty-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installAlacritty() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add alacritty
;;
bps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y alacritty
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y alacritty
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/android-debloat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ install_adb() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add android-tools
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y android-tools
;;
*)
printf "%b\n" "${RED}Unsupported package manager: "$PACKAGER"${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/browsers/chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ if ! command_exists chromium; then
apk)
"$ESCALATION_TOOL" "$PACKAGER" add chromium
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y chromium
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y chromium
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/browsers/firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ installFirefox() {
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y firefox
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y firefox
;;
apk)
"$ESCALATION_TOOL" "$PACKAGER" add firefox
;;
Expand Down
4 changes: 4 additions & 0 deletions core/tabs/applications-setup/browsers/librewolf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Signed-By: /usr/share/keyrings/librewolf.gpg" | "$ESCALATION_TOOL" tee /etc/apt/
pacman)
"$AUR_HELPER" -S --needed --noconfirm librewolf-bin
;;
xbps-install)
printf '%s\n' 'repository=https://github.com/index-0/librewolf-void/releases/latest/download/' | "$ESCALATION_TOOL" tee /etc/xbps.d/20-librewolf.conf > /dev/null
"$ESCALATION_TOOL" "$PACKAGER" -Syu librewolf
;;
apk)
checkFlatpak
flatpak install flathub io.gitlab.librewolf-community
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/browsers/lynx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installLynx() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add lynx
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y lynx
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y lynx
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/browsers/tor-browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ installTorBrowser() {
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y torbrowser-launcher
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y torbrowser-launcher
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ installDiscord() {
"$ESCALATION_TOOL" "$PACKAGER" install -y https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
"$ESCALATION_TOOL" "$PACKAGER" install -y discord
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y Signal-Desktop
;;
apk)
checkFlatpak
flatpak install -y flathub com.discordapp.Discord
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ installSignal() {
checkFlatpak
flatpak install -y flathub org.signal.Signal
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y Signal-Desktop
;;
apk)
checkFlatpak
flatpak install -y flathub org.signal.Signal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installTelegram() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add telegram-desktop
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y telegram-desktop
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y telegram-desktop
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installThunderBird() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add thunderbird
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y thunderbird
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y thunderbird
;;
Expand Down
6 changes: 6 additions & 0 deletions core/tabs/applications-setup/docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ install_docker() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add docker
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y docker
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down Expand Up @@ -80,6 +83,9 @@ install_docker_compose() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add docker-cli-compose
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y docker-compose
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/fastfetch-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ installFastfetch() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add fastfetch
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y fastfetch
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y fastfetch
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/kitty-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installKitty() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add kitty
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y kitty
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y kitty
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/mybash-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ installDepend() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add bash bash-completion tar bat tree unzip fontconfig git
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y bash bash-completion tar bat tree unzip fontconfig git
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y bash bash-completion tar bat tree unzip fontconfig git
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/office-suites/libreoffice.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ installLibreOffice() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add libreoffice
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y libreoffice
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/pdf-suites/evince.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installEvince() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add evince
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y evince
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y evince
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/pdf-suites/okular.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installOkular() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add okular
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y okular
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y okular
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/podman-compose-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ installPodmanCompose() {
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y podman-compose
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y podman-compose
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/podman-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ installPodman() {
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y podman
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y podman
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/rofi-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installRofi() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add rofi
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y rofi
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y rofi
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/applications-setup/zsh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ installZsh() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add zsh
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y zsh
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y zsh
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/security/firewall-baselines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ installPkg() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add ufw
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y ufw
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y ufw
;;
Expand Down
7 changes: 7 additions & 0 deletions core/tabs/system-setup/compile-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,40 @@
else
printf "%b\n" "${GREEN}Multilib is already enabled.${RC}"
fi
"$AUR_HELPER" -S --needed --noconfirm $DEPENDENCIES

Check warning on line 18 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:18:51: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
;;
apt-get|nala)
COMPILEDEPS='build-essential'
"$ESCALATION_TOOL" "$PACKAGER" update
"$ESCALATION_TOOL" dpkg --add-architecture i386
"$ESCALATION_TOOL" "$PACKAGER" update
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES $COMPILEDEPS

Check warning on line 25 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:25:55: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
;;
dnf)
COMPILEDEPS='@development-tools'
"$ESCALATION_TOOL" "$PACKAGER" update
"$ESCALATION_TOOL" "$PACKAGER" config-manager --set-enabled powertools
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES $COMPILEDEPS

Check warning on line 31 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:31:55: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
"$ESCALATION_TOOL" "$PACKAGER" install -y glibc-devel.i686 libgcc.i686
;;
zypper)
COMPILEDEPS='patterns-devel-base-devel_basis'
"$ESCALATION_TOOL" "$PACKAGER" refresh
"$ESCALATION_TOOL" "$PACKAGER" --non-interactive install $DEPENDENCIES $COMPILEDEPS

Check warning on line 37 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:37:70: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
"$ESCALATION_TOOL" "$PACKAGER" --non-interactive install libgcc_s1-gcc7-32bit glibc-devel-32bit
;;
apk)
"$ESCALATION_TOOL" "$PACKAGER" add build-base multitail tar tree trash-cli unzip cmake jq
;;
xbps-install)
COMPILEDEPS='base-devel'
"$ESCALATION_TOOL" "$PACKAGER" -y $DEPENDENCIES $COMPILEDEPS

Check warning on line 45 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:45:47: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
adamperkowski marked this conversation as resolved.
Show resolved Hide resolved
"$ESCALATION_TOOL" "$PACKAGER" -y void-repo-multilib
"$ESCALATION_TOOL" "$PACKAGER" -Sy
"$ESCALATION_TOOL" "$PACKAGER" -y glibc-32bit gcc-multilib
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES

Check warning on line 51 in core/tabs/system-setup/compile-setup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./core/tabs/system-setup/compile-setup.sh:51:55: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
;;
esac
}
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/system-setup/global-theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ install_theme_tools() {
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm qt6ct kvantum
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y qt6ct kvantum
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/system-setup/system-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
;;
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -Sc --noconfirm
"$ESCALATION_TOOL" "$PACKAGER" -Rns $(pacman -Qtdq) --noconfirm > /dev/null || true

Check warning on line 25 in core/tabs/system-setup/system-cleanup.sh

View workflow job for this annotation

GitHub Actions / Shellcheck

[shellcheck] reported by reviewdog 🐶 Quote this to prevent word splitting. Raw Output: ./core/tabs/system-setup/system-cleanup.sh:25:49: warning: Quote this to prevent word splitting. (ShellCheck.SC2046)
;;
apk)
"$ESCALATION_TOOL" "$PACKAGER" cache clean
;;
xbps-install)
"$ESCALATION_TOOL" xbps-remove -Oo
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}. Skipping.${RC}"
;;
Expand Down
6 changes: 6 additions & 0 deletions core/tabs/system-setup/system-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ fastUpdate() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" update
;;
xbps-install)
"$ESCALATION_TOOL" xbps-install -S
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
exit 1
Expand All @@ -82,6 +85,9 @@ updateSystem() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" upgrade
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -Su
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ${PACKAGER}${RC}"
exit 1
Expand Down
13 changes: 4 additions & 9 deletions core/tabs/system-setup/terminus-tty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ InstallTermiusFonts() {
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y terminus-fonts-console
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y terminus-font
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand All @@ -28,7 +31,7 @@ InstallTermiusFonts() {

SetTermiusFonts() {
case "$DTYPE" in
arch)
arch|fedora|void)
printf "%b\n" "${YELLOW}Updating FONT= line in /etc/vconsole.conf...${RC}"
"$ESCALATION_TOOL" sed -i 's/^FONT=.*/FONT=ter-v32b/' /etc/vconsole.conf
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
Expand All @@ -50,14 +53,6 @@ SetTermiusFonts() {
fi
printf "%b\n" "${GREEN}Terminus font has been set for TTY.${RC}"
;;
fedora)
printf "%b\n" "${YELLOW}Updating FONT= line in /etc/vconsole.conf...${RC}"
"$ESCALATION_TOOL" sed -i 's/^FONT=.*/FONT=ter-v32b/' /etc/vconsole.conf
if [ -z "$DISPLAY" ] && [ -z "$WAYLAND_DISPLAY" ]; then
"$ESCALATION_TOOL" setfont -C /dev/tty1 ter-v32b
fi
printf "%b\n" "${GREEN}Terminus font has been set for TTY.${RC}"
;;
esac
}

Expand Down
3 changes: 3 additions & 0 deletions core/tabs/utils/bluetooth-control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ setupBluetooth() {
apk)
"$ESCALATION_TOOL" "$PACKAGER" add bluez
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y bluez
;;
*)
"$ESCALATION_TOOL" "$PACKAGER" install -y bluez
;;
Expand Down
3 changes: 3 additions & 0 deletions core/tabs/utils/encrypt_decrypt_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ if ! command_exists openssl; then
apk)
"$ESCALATION_TOOL" "$PACKAGER" add openssl
;;
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y openssl
;;
*)
printf "%b\n" "${RED}Unsupported package manager: ""$PACKAGER""${RC}"
exit 1
Expand Down
6 changes: 3 additions & 3 deletions core/tabs/utils/printers/install-cups.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ installCUPS() {
pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --noconfirm cups
;;
apt-get | nala)
apt-get|nala|dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y cups
;;
dnf)
"$ESCALATION_TOOL" "$PACKAGER" install -y cups
xbps-install)
"$ESCALATION_TOOL" "$PACKAGER" -y cups
;;
*)
printf "%b\n" "${RED}Unsupported package manager ${PACKAGER}${RC}"
Expand Down
Loading
Loading