mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
remove raspberry-gpio extension
This commit is contained in:
parent
0e2d38aa40
commit
dccde83e07
1 changed files with 4 additions and 4 deletions
|
@ -134,10 +134,10 @@ ynh_add_systemd_config --others_var="conf_file start_file" # substitute __CO
|
|||
ynh_script_progression --message="Setup config file..." --time --weight=1
|
||||
|
||||
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