From f40a95a2e70ed80730f95de564e384e26cc03a99 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 18 Sep 2019 16:29:41 +0200 Subject: [PATCH] Install packages as explicit Signed-off-by: Severin Kaderli --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 7886ea5..62a4228 100755 --- a/install +++ b/install @@ -223,7 +223,7 @@ package_count=$(< "${PACKAGES_DIR}/packages.native.list" wc -l) if ask_prompt "Do you want to install ${package_count} Arch packages?"; then print_log "Installing ${package_count} Arch packages" yay -Syy > /dev/null 2>&1 - yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.native.list" + yay -S --asexplicit --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.native.list" fi @@ -241,7 +241,7 @@ package_count=$(< "${PACKAGES_DIR}/packages.aur.list" wc -l) if ask_prompt "Do you want to install ${package_count} AUR packages?"; then print_log "Installing ${package_count} AUR packages" yay -Syy > /dev/null 2>&1 - yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.aur.list" + yay -S --asexplicit --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.aur.list" fi # Remove unneeded packages