diff --git a/scripts/install b/scripts/install index 5c1b261..23415df 100755 --- a/scripts/install +++ b/scripts/install @@ -194,10 +194,12 @@ ynh_systemd_action --service_name=nginx --action=reload #================================================= ynh_script_progression --message="Provide additional shell command..." -cp -a ../sources/extra_files/mopidyctl "$cmd_file" -ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="$cmd_file" -ynh_replace_string --match_string="__FINAL_PATH__" --replace_string=$final_path --target_file="$cmd_file" -ynh_replace_string --match_string="__CONF_FILE__" --replace_string=$conf_file --target_file="$cmd_file" +ynh_add_config --template="../sources/extra_files/mopidyctl" --destination="$cmd_file" + +#cp -a ../sources/extra_files/mopidyctl "$cmd_file" +#ynh_replace_string --match_string="__APP__" --replace_string=$app --target_file="$cmd_file" +#ynh_replace_string --match_string="__FINAL_PATH__" --replace_string=$final_path --target_file="$cmd_file" +#ynh_replace_string --match_string="__CONF_FILE__" --replace_string=$conf_file --target_file="$cmd_file" chmod +x "$cmd_file"