From b90fc1d9770a2894c2e4ff21695e7cf4d948b9b9 Mon Sep 17 00:00:00 2001 From: brindosch Date: Sat, 11 Jun 2016 00:28:55 +0200 Subject: [PATCH] Update install_hyperion.sh Former-commit-id: faba41c021bc2f2e672f6369510f048dc9422668 --- bin/install_hyperion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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