From 2fa1a8d072df9875808f07af27a9834eee3f726f Mon Sep 17 00:00:00 2001 From: salmonik Date: Mon, 2 Nov 2026 13:02:11 +0100 Subject: install.sh: only install the systemd service on linux --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index a871e89..41241b2 100755 --- a/install.sh +++ b/install.sh @@ -31,9 +31,10 @@ if [ "$(uname -s)" = "FreeBSD" ]; then sudo sysrc rsplayer_enable=YES sudo sysrc rsplayer_user="$USER" sudo service rsplayer start -else - echo "Installing to /usr/bin/rsp..." - sudo install target/release/rsp /usr/bin/rsp +elif [ "$(uname -s)" = "Linux" ]; then + BIN="/usr/bin/rsp" + echo "Installing to ${BIN}..." + sudo install target/release/rsp "${BIN}" echo "" echo "Installing systemd service..." -- cgit v1.2.3