1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

Update upgrade

This commit is contained in:
siwinter 2021-03-09 17:42:56 +01:00 committed by GitHub
parent dccde83e07
commit dab4b90e42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,10 +145,10 @@ ynh_backup_if_checksum_is_different --file="$conf_file"
cp ../conf/app.conf "$conf_file"
if [ -n "$(uname -m | grep arm)" ]; # check CPU (raspberry is armxx)
then
cat ../conf/raspberry.conf >> "$conf_file"
fi
#if [ -n "$(uname -m | grep arm)" ]; # check CPU (raspberry is armxx)
# then
# cat ../conf/raspberry.conf >> "$conf_file"
#fi
ynh_replace_string --match_string="__PORT__" --replace_string=$port --target_file="$conf_file"
ynh_replace_string --match_string="__MEDIADIR__" --replace_string=$media_dir --target_file="$conf_file"