From 6c3d6b7eb94ab3befaac73739caf4c94e9299831 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Wed, 15 Nov 2023 07:38:59 +0100 Subject: [PATCH] fix dead variable --- installation/routines/setup_mpd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation/routines/setup_mpd.sh b/installation/routines/setup_mpd.sh index b3a1c3473..6b72b5f9a 100644 --- a/installation/routines/setup_mpd.sh +++ b/installation/routines/setup_mpd.sh @@ -36,7 +36,7 @@ setup_mpd() { local MPD_EXECUTE_INSTALL=true - if [[ -f ${MPD_CONF_PATH} || -f ${SYSTEMD_PATH}/mpd.service ]]; then + if [[ -f ${MPD_CONF_PATH} || -f ${SYSTEMD_USR_PATH}/mpd.service ]]; then echo " It seems there is a MPD already installed." echo " Note: It is important that MPD runs as a user service!" echo " Would you like to overwrite your configuration? [Y/n] " | tee /dev/fd/3