diff --git a/bin/install_hyperion.sh b/bin/install_hyperion.sh index 05d0515a..5fde48f3 100755 --- a/bin/install_hyperion.sh +++ b/bin/install_hyperion.sh @@ -131,7 +131,7 @@ if [ $CPU_RPI -eq 1 ] && [ $OS_OPENELEC -eq 1 ]; then fi # compatibility layer to move old configs to new config dir -if [ -f "/opt/hyperion" ]; then +if [ -f "/opt/hyperion/bin/hyperiond" ]; then echo '---> Old installation found, move configs to /etc/hyperion/ and move hyperion to /usr/share/hyperion/' mv /opt/hyperion/config/*.json /etc/hyperion 2>/dev/null sed -i "s|/opt/hyperion/effects|/usr/share/hyperion/effects|g" /etc/hyperion/*.json