From 3cc68b29da676868076343b162bfba1a0df42467 Mon Sep 17 00:00:00 2001 From: clsty Date: Mon, 10 Nov 2025 20:34:07 +0800 Subject: [PATCH] Improve format in install-deps --- sdata/dist-arch/install-deps.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sdata/dist-arch/install-deps.sh b/sdata/dist-arch/install-deps.sh index f9cd93df4..ebca31ad2 100644 --- a/sdata/dist-arch/install-deps.sh +++ b/sdata/dist-arch/install-deps.sh @@ -16,7 +16,11 @@ install-yay(){ # However, let's just keep it as references for other distros writing their `sdata/dist-/install-deps.sh`, if they need it. remove_deprecated_dependencies(){ printf "${STY_CYAN}[$0]: Removing deprecated dependencies:${STY_RST}\n" - for i in illogical-impulse-{microtex,pymyc-aur} hyprland-qtutils {quickshell,hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git;do try sudo pacman --noconfirm -Rdd $i;done + local list=() + list+=(illogical-impulse-{microtex,pymyc-aur}) + list+=(hyprland-qtutils) + list+=({quickshell,hyprutils,hyprpicker,hyprlang,hypridle,hyprland-qt-support,hyprland-qtutils,hyprlock,xdg-desktop-portal-hyprland,hyprcursor,hyprwayland-scanner,hyprland}-git) + for i in ${list[@]};do try sudo pacman --noconfirm -Rdd $i;done } implicitize_old_dependencies(){ # Convert old dependencies to non explicit dependencies so that they can be orphaned if not in meta packages