Merge pull request #68 from bwrsandman/patch-1

Arch: do not reinstall up to date packages
This commit is contained in:
Steve Zabka
2021-08-30 10:11:41 +02:00
committed by GitHub

View File

@@ -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 {