Skip to content

Commit dfbd6a1

Browse files
Copy the official steam installation method instead of the outdated one
1 parent e84a4a5 commit dfbd6a1

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

Trixie/config/hooks/live/9003-extrainstalls.hook.chroot

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ dpkg --add-architecture i386
1515
echo "[Hook] Creating keyrings directory"
1616
mkdir -pm755 /etc/apt/keyrings
1717

18-
# --- Steam Repository ---
19-
echo "[Hook] Adding Steam repository and key"
20-
curl -fsSL https://repo.steampowered.com/steam-archive-keyring.gpg \
18+
# --- Steam Repository (official) ---
19+
echo "[Hook] Adding Steam repository and key (official method)"
20+
curl -fsSL https://repo.steampowered.com/steam/archive/stable/steam.gpg \
2121
| gpg --dearmor -o /etc/apt/keyrings/steam.gpg
2222

23-
cat << 'EOF' > /etc/apt/sources.list.d/steam.sources
24-
Types: deb
25-
URIs: https://repo.steampowered.com/steam/
26-
Suites: stable
27-
Components: steam
28-
Signed-By: /etc/apt/keyrings/steam.gpg
23+
cat << 'EOF' > /etc/apt/sources.list.d/steam.list
24+
deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
25+
deb-src [arch=amd64,i386 signed-by=/etc/apt/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam
2926
EOF
3027

3128
# --- Lutris Repository ---
@@ -95,5 +92,4 @@ rm -rf "$_tmp_dir"
9592
echo "[Hook] Discord installed successfully"
9693

9794
# --- Done ---
98-
echo "[Hook] Completed repository setup and installations successfully"
99-
95+
echo "[Hook] Completed repository setup and installations successfully"

0 commit comments

Comments
 (0)