From 8e587ee2ce82751129aa1d98afc2ca1c9b0dd4bd Mon Sep 17 00:00:00 2001 From: askiiart Date: Thu, 7 Sep 2023 09:13:31 -0500 Subject: [PATCH] Improve pacmen --- daily-use-pcs/setup-git.bash | 4 ++-- qemu-install.bash | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/daily-use-pcs/setup-git.bash b/daily-use-pcs/setup-git.bash index a478480..67e1ce9 100755 --- a/daily-use-pcs/setup-git.bash +++ b/daily-use-pcs/setup-git.bash @@ -21,8 +21,8 @@ if command_exists "apt-get"; then elif command_exists "yum"; then sudo yum install pass git -y elif command_exists "pacman"; then - sudo pacman -S git --noconfirm - sudo pacman -S pass --noconfirm + sudo pacman -S git --noconfirm --needed + sudo pacman -S pass --noconfirm --needed elif command_exists "zypp"; then sudo zypper install pass git -y elif command_exists "emerge"; then diff --git a/qemu-install.bash b/qemu-install.bash index 36800cd..3dadd1e 100644 --- a/qemu-install.bash +++ b/qemu-install.bash @@ -12,8 +12,8 @@ if command_exists "apt-get"; then elif command_exists "yum"; then sudo yum install @Virtualization virt-manager -y elif command_exists "pacman"; then - sudo pacman -S qemu-full --noconfirm - sudo pacman -S virt-manager --noconfirm + sudo pacman -S qemu-full --noconfirm --needed + sudo pacman -S virt-manager --noconfirm --needed elif command_exists "zypp"; then # Untested sudo zypper install qemu -y