From c0e30db3e4949aaf33caed5907996e14193058b2 Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Thu, 25 Jul 2024 20:10:31 +0100 Subject: [PATCH 1/3] Fixed steam install on Debian --- src/commands/system-setup/2-gaming-setup.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/commands/system-setup/2-gaming-setup.sh b/src/commands/system-setup/2-gaming-setup.sh index f044162c..89240c08 100755 --- a/src/commands/system-setup/2-gaming-setup.sh +++ b/src/commands/system-setup/2-gaming-setup.sh @@ -71,7 +71,22 @@ install_additional_dependencies() { echo "Lutris Installation complete." echo "Installing steam..." - sudo apt-get install -y steam + + #Install steam on Ubuntu + if (lsb_release -i | grep -qi Debian); then + #Enable i386 repos + sudo dpkg --add-architecture i386 + # Install software-properties-common to be able to add repos + sudo apt-get install -y software-properties-common + # Add repos necessary for installing steam + apt-add-repository contrib -y + apt-add-repository non-free -y + #Install steam + sudo apt-get install steam-installer -y + else + #Install steam on Ubuntu + sudo apt-get install -y steam + fi ;; *zypper) From f61000ddfbeb4fa68dc85390a0932ba00502b32e Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Thu, 25 Jul 2024 20:23:55 +0100 Subject: [PATCH 2/3] Fix wording --- src/commands/system-setup/2-gaming-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/system-setup/2-gaming-setup.sh b/src/commands/system-setup/2-gaming-setup.sh index 89240c08..d4adfba0 100755 --- a/src/commands/system-setup/2-gaming-setup.sh +++ b/src/commands/system-setup/2-gaming-setup.sh @@ -72,7 +72,7 @@ install_additional_dependencies() { echo "Lutris Installation complete." echo "Installing steam..." - #Install steam on Ubuntu + #Install steam on Debian if (lsb_release -i | grep -qi Debian); then #Enable i386 repos sudo dpkg --add-architecture i386 From b1663c5602f70478333e2b1cfeedf66b5070537e Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Thu, 25 Jul 2024 20:39:45 +0100 Subject: [PATCH 3/3] Fix missing sudo --- src/commands/system-setup/2-gaming-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/system-setup/2-gaming-setup.sh b/src/commands/system-setup/2-gaming-setup.sh index d4adfba0..e1c89482 100755 --- a/src/commands/system-setup/2-gaming-setup.sh +++ b/src/commands/system-setup/2-gaming-setup.sh @@ -79,8 +79,8 @@ install_additional_dependencies() { # Install software-properties-common to be able to add repos sudo apt-get install -y software-properties-common # Add repos necessary for installing steam - apt-add-repository contrib -y - apt-add-repository non-free -y + sudo apt-add-repository contrib -y + sudo apt-add-repository non-free -y #Install steam sudo apt-get install steam-installer -y else