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:
parent
dccde83e07
commit
dab4b90e42
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue