From 0bee9bf98eb49b7713a296b300b15c7a005f15dd Mon Sep 17 00:00:00 2001 From: Sandy Date: Sun, 29 Aug 2021 20:49:47 -0400 Subject: [PATCH] Arch: do not reinstall up to date packages --- scripts/stable-branch/fusion360-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/stable-branch/fusion360-install.sh b/scripts/stable-branch/fusion360-install.sh index 9c2e8fa..dae0f80 100644 --- a/scripts/stable-branch/fusion360-install.sh +++ b/scripts/stable-branch/fusion360-install.sh @@ -48,7 +48,7 @@ elif VERB="$( which dnf )" 2> /dev/null; then sudo dnf install dialog wmctrl elif VERB="$( which pacman )" 2> /dev/null; then echo "Arch-based" - sudo pacman -Sy dialog wmctrl + sudo pacman -Sy --needed dialog wmctrl elif VERB="$( which zypper )" 2> /dev/null; then echo "openSUSE-based" su -c 'zypper up && zypper install dialog wmctrl' @@ -335,7 +335,7 @@ esac } function archlinux_2 { - sudo pacman -Sy wine wine-mono wine_gecko winetricks p7zip curl cabextract samba ppp + sudo pacman -Sy --needed wine wine-mono wine_gecko winetricks p7zip curl cabextract samba ppp } function debian_based_1 {