mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Update install_hyperion.sh
Former-commit-id: faba41c021bc2f2e672f6369510f048dc9422668
This commit is contained in:
parent
8746e0795c
commit
b90fc1d977
@ -131,7 +131,7 @@ if [ $CPU_RPI -eq 1 ] && [ $OS_OPENELEC -eq 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# compatibility layer to move old configs to new config dir
|
# 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/'
|
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
|
mv /opt/hyperion/config/*.json /etc/hyperion 2>/dev/null
|
||||||
sed -i "s|/opt/hyperion/effects|/usr/share/hyperion/effects|g" /etc/hyperion/*.json
|
sed -i "s|/opt/hyperion/effects|/usr/share/hyperion/effects|g" /etc/hyperion/*.json
|
||||||
|
Loading…
Reference in New Issue
Block a user