Fix $2101

This commit is contained in:
clsty
2025-10-02 07:20:25 +08:00
parent 3a888f9be4
commit 6757dc2ca1
-14
View File
@@ -41,9 +41,6 @@ case $SKIP_SYSUPDATE in
*) v sudo pacman -Syu;;
esac
remove_bashcomments_emptylines ${DEPLISTFILE} ./cache/dependencies_stripped.conf
readarray -t pkglist < ./cache/dependencies_stripped.conf
# Use yay. Because paru does not support cleanbuild.
# Also see https://wiki.hyprland.org/FAQ/#how-do-i-update
if ! command -v yay >/dev/null 2>&1;then
@@ -52,17 +49,6 @@ if ! command -v yay >/dev/null 2>&1;then
v install-yay
fi
# Install extra packages from dependencies.conf as declared by the user
if (( ${#pkglist[@]} != 0 )); then
if $ask; then
# execute per element of the array $pkglist
for i in "${pkglist[@]}";do v yay -S --needed $i;done
else
# execute for all elements of the array $pkglist in one line
v yay -S --needed --noconfirm ${pkglist[*]}
fi
fi
showfun handle-deprecated-dependencies
v handle-deprecated-dependencies