„51 - steam.sh“ hinzufügen
This commit is contained in:
11
51 - steam.sh
Normal file
11
51 - steam.sh
Normal 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
|
Reference in New Issue
Block a user