From ff44b7095f150172fc4e4dec2e7d7c1e7ec311d3 Mon Sep 17 00:00:00 2001 From: JEEVITHA KANNAN K S Date: Mon, 21 Oct 2024 21:44:12 +0530 Subject: [PATCH] Update gaming-setup.sh --- core/tabs/system-setup/gaming-setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/tabs/system-setup/gaming-setup.sh b/core/tabs/system-setup/gaming-setup.sh index f6757c7c..4b2d920c 100755 --- a/core/tabs/system-setup/gaming-setup.sh +++ b/core/tabs/system-setup/gaming-setup.sh @@ -25,12 +25,15 @@ installDepend() { $AUR_HELPER -S --needed --noconfirm $DEPENDENCIES $DISTRO_DEPS ;; apt-get|nala) - DISTRO_DEPS="software-properties-common libasound2 libsdl2-2.0-0 wine64 wine32" + DISTRO_DEPS="libasound2 libsdl2-2.0-0 wine64 wine32" "$ESCALATION_TOOL" dpkg --add-architecture i386 + if [ "$DTYPE" != "pop" ]; then + "$ESCALATION_TOOL" "$PACKAGER" install -y software-properties-common "$ESCALATION_TOOL" apt-add-repository contrib -y fi + "$ESCALATION_TOOL" "$PACKAGER" update "$ESCALATION_TOOL" "$PACKAGER" install -y $DEPENDENCIES $DISTRO_DEPS ;;