1
0
Fork 0
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:
siwinter 2021-03-09 17:41:16 +01:00 committed by GitHub
parent 0e2d38aa40
commit dccde83e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"