1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ergo_ynh.git synced 2024-09-03 18:26:31 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Navan Chauhan 2022-07-10 11:22:19 +05:30 committed by GitHub
commit 4e63557f5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View file

@ -3,8 +3,8 @@
"id": "ergo", "id": "ergo",
"packaging_format": 1, "packaging_format": 1,
"description": { "description": {
"en": "A modern IRC server (daemon/ircd) written in Go", "en": "Modern IRC server (daemon/ircd) written in Go",
"fr": "A modern IRC server (daemon/ircd) written in Go" "fr": "Serveur IRC moderne (démon/ircd) écrit en Go"
}, },
"version": "2.10.0~ynh2", "version": "2.10.0~ynh2",
"url": "https://ergo.chat/", "url": "https://ergo.chat/",
@ -62,7 +62,7 @@
{ {
"name": "network_name", "name": "network_name",
"type": "string", "type": "string",
"default": "ErgoYunohost", "default": "ErgoYunoHost",
"ask": { "ask": {
"en": "Network Name" "en": "Network Name"
} }

View file

@ -29,7 +29,6 @@ path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
enable_ldap=$YNH_APP_ARG_ENABLE_LDAP enable_ldap=$YNH_APP_ARG_ENABLE_LDAP
language=$YNH_APP_ARG_LANGUAGE language=$YNH_APP_ARG_LANGUAGE
architecture=$YNH_ARCH
network_name=$YNH_APP_ARG_NETWORK_NAME network_name=$YNH_APP_ARG_NETWORK_NAME
server_name=$YNH_APP_ARG_SERVER_NAME server_name=$YNH_APP_ARG_SERVER_NAME
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
@ -105,7 +104,7 @@ ynh_script_progression --message="Setting up source files..." --weight=10
ynh_app_setting_set --app=$app --key=final_path --value=$final_path ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --source_id="$architecture" ynh_setup_source --dest_dir="$final_path" --source_id=$YNH_ARCH
ynh_setup_source --dest_dir="$final_path" --source_id=ldap ynh_setup_source --dest_dir="$final_path" --source_id=ldap
chmod 750 "$final_path" chmod 750 "$final_path"