diff --git a/README.md b/README.md index 9cdb557..b89d2a9 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Gogs (Go Git Service) is a git-based multiplatform forge written in Go. Its part **Shipped version:** 0.12.10~ynh1 + **Demo:** https://try.gogs.io/user/login ## Screenshots diff --git a/README_fr.md b/README_fr.md index fc6e175..3382742 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,8 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Gogs (Go Git Service) est une forge multiplateforme basée sur git écrite en Go. Sa particularité est d’être léger et pouvant fonctionner sur carte ARM, ce qui fait qu’il est adapté à l’auto-hébergement. Gogs a une interface web similaire à celle de GitHub. -**Version incluse :** 0.12.10~ynh1 +**Version incluse :** 0.12.10~ynh1 + **Démo :** https://try.gogs.io/user/login diff --git a/manifest.json b/manifest.json index 0cdd190..8a7f3b3 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,8 @@ "website": "http://gogs.io", "demo": "https://try.gogs.io/user/login", "admindoc": "https://gogs.io/docs", - "code": "https://github.com/gogs/gogs" + "code": "https://github.com/gogs/gogs", + "cpe": "cpe:2.3:a:gogs:gogs" }, "license": "MIT", "maintainer": { @@ -30,7 +31,7 @@ "mysql" ], "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.0.9" }, "arguments": { "install": [ @@ -59,4 +60,4 @@ } ] } -} +} \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index e75392b..ec8bfde 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -76,7 +76,7 @@ ynh_script_progression --message="Setting up source files..." --weight=3 ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir=$final_path --source_id=$YNH_ARCH --keep="$final_path/custom/conf/app.ini $final_path/custom/conf/auth.d/ldap.conf" +ynh_setup_source --dest_dir=$final_path --source_id=$YNH_ARCH --keep="custom/conf/app.ini custom/conf/auth.d/ldap.conf" chmod 750 "$final_path" chmod -R o-rwx "$final_path"