Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Fix install-service.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Radiicall authored Aug 24, 2022
1 parent 366d0d6 commit 204c414
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install-service.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

if whoami = "root"
if [ `whoami` == "root" ];
then
echo "This script cannot be ran as root"
exit 1
Expand All @@ -18,6 +18,7 @@ else
exit 1
fi

systemctl --user stop steam-presence.service

echo "Installing systemd service"
cp steam-presence.service.tmp ~/.config/systemd/user/steam-presence.service
Expand Down

0 comments on commit 204c414

Please sign in to comment.