diff --git a/scripts/install b/scripts/install index 2b61004..a0bd77a 100644 --- a/scripts/install +++ b/scripts/install @@ -106,14 +106,6 @@ mkdir -p /home/yunohost.app/$app/{torrents,downloads} #================================================= ynh_script_progression --message="Modifying a config file..." --weight=1 -# cp ../conf/config.default.json "$final_path/config.json" - -# # Main config File -# ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/config.json" -# ynh_replace_string --match_string="__PEER_PORT__" --replace_string="$peer_port" --target_file="$final_path/config.json" - -# ynh_store_file_checksum --file="$final_path/config.json" - ynh_add_config --template="../conf/config.default.json" --destination="$final_path/config.json" #================================================= @@ -134,7 +126,7 @@ ynh_script_progression --message="Securing files and directories..." --weight=1 # Set permissions to app files chown -R $app: $final_path -chown -R $app: /home/yunohost.app +chown -R $app: /home/yunohost.app/$app chmod +x $final_path/$app chmod -R 755 /home/yunohost.app/$app/{torrents,downloads}