From e6b51afec82e363c9a2efec442be4bad2b8197cc Mon Sep 17 00:00:00 2001 From: Max Parry <66670928+Buggem@users.noreply.github.com> Date: Tue, 30 Dec 2025 11:53:19 +1100 Subject: [PATCH 1/2] [STEAM] Minor refactoring - don't remove the deb files as they are already removed with the `rm -rf ./tmp/` - don't create ~/steam as it is already bound to be created with `mkdir -p ~/steam/tmp` - remove superfluous characters in path --- install_steam.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/install_steam.sh b/install_steam.sh index 40a84dbec0..6720bcbd04 100755 --- a/install_steam.sh +++ b/install_steam.sh @@ -1,8 +1,7 @@ #!/bin/bash # create necessary directories -mkdir -p ~/steam -mkdir -p ~/steam/tmp +mkdir -p ~/steam/tmp # makes both ~/steam and ~/steam/tmp in one cmd cd ~/steam/tmp # download latest deb and unpack @@ -10,12 +9,9 @@ wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb ar x steam.deb tar xf data.tar.xz -# remove deb archives, not needed anymore -rm ./*.tar.xz ./steam.deb - # move deb contents to steam folder -mv ./usr/* ../ -cd ../ && rm -rf ./tmp/ +mv ./usr/* .. +cd .. && rm -rf ./tmp # create run script echo '#!/bin/bash From 0b5fff9cb81c44ba57df027b7f183f7d0bea511f Mon Sep 17 00:00:00 2001 From: Max Parry <66670928+Buggem@users.noreply.github.com> Date: Tue, 30 Dec 2025 12:09:44 +1100 Subject: [PATCH 2/2] [STEAM] Use Curl over WGet, as it's more common on most systems --- install_steam.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_steam.sh b/install_steam.sh index 6720bcbd04..dacf3ccdf7 100755 --- a/install_steam.sh +++ b/install_steam.sh @@ -5,7 +5,7 @@ mkdir -p ~/steam/tmp # makes both ~/steam and ~/steam/tmp in one cmd cd ~/steam/tmp # download latest deb and unpack -wget https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb +curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb ar x steam.deb tar xf data.tar.xz