„51 - steam.sh“ hinzufügen

This commit is contained in:
2022-01-29 11:41:30 +01:00
parent 2433213d73
commit 55dc0c07fe

11
51 - steam.sh Normal file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
# Add contrib and non-free to repositories
if [ ! "$(grep -E "non-free" /etc/apt/sources.list)" ]; then
sed -i '/deb http:\/\/deb.debian.org\/debian\/ bullseye main/s/$/ contrib non-free/' /etc/apt/sources.list
fi
dpkg --add-architecture i386
apt-get update
echo steam steam/question select "I AGREE" | debconf-set-selections
echo steam steam/license note '' | debconf-set-selections
DEBIAN_FRONTEND=noninteractive apt-get -y install steam