forked from Shinonome/dots-hyprland
Fix $2101
This commit is contained in:
@@ -41,9 +41,6 @@ case $SKIP_SYSUPDATE in
|
|||||||
*) v sudo pacman -Syu;;
|
*) v sudo pacman -Syu;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
remove_bashcomments_emptylines ${DEPLISTFILE} ./cache/dependencies_stripped.conf
|
|
||||||
readarray -t pkglist < ./cache/dependencies_stripped.conf
|
|
||||||
|
|
||||||
# Use yay. Because paru does not support cleanbuild.
|
# Use yay. Because paru does not support cleanbuild.
|
||||||
# Also see https://wiki.hyprland.org/FAQ/#how-do-i-update
|
# Also see https://wiki.hyprland.org/FAQ/#how-do-i-update
|
||||||
if ! command -v yay >/dev/null 2>&1;then
|
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
|
v install-yay
|
||||||
fi
|
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
|
showfun handle-deprecated-dependencies
|
||||||
v handle-deprecated-dependencies
|
v handle-deprecated-dependencies
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user