Skip to content

Commit 04c0af2

Browse files
authored
Fix installer problems on certain linux distros
2 parents 04ae245 + f62f7b6 commit 04c0af2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
5959
fi
6060

6161
# Detect OS and perform OS-specific tasks
62-
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
62+
if [[ "$OSTYPE" == "linux-gnu"* || "$OSTYPE" == "linux" ]]; then
6363
echo "Setting up service file for Linux"
6464
mkdir -p "$HOME/.config/systemd/user"
6565
sed -e "s~steam-presence/bin/python~steam-presence/venv/bin/python~g" -e "s~/home/deck/steam-presence~$PWD~g" "$PWD/steam-presence.service" > $HOME/.config/systemd/user/steam-presence.service

0 commit comments

Comments
 (0)