Add native steam installer
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
sudo apt install flatpak || {
|
|
||||||
echo "Failed to install flatpak. Try: \"sudo apt update\" and run the script again."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo || {
|
|
||||||
echo "Failed to add flathub remote."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
flatpak install flathub com.valvesoftware.Steam || {
|
|
||||||
echo "Failed to install Steam."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
flatpak install flathub com.github.Anuken.Mindustry || {
|
|
||||||
echo "Failed to install Mindustry."
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
echo
|
|
||||||
echo "Done."
|
|
||||||
echo
|
|
||||||
9
scripts/install-steam.sh
Executable file
9
scripts/install-steam.sh
Executable file
@@ -0,0 +1,9 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
echo "Add \"contrib non-free\" to the end of each repo. Press ENTER to edit /etc/apt/sources.list."
|
||||||
|
read
|
||||||
|
sudoedit /etc/apt/sources.list
|
||||||
|
|
||||||
|
sudo dpkg --add-architecture i386
|
||||||
|
sudo nala update
|
||||||
|
sudo nala install steam
|
||||||
|
|
||||||
Reference in New Issue
Block a user