1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

Merge pull request #71 from YunoHost-Apps/testing

set relative path for --keep opt
This commit is contained in:
yalh76 2022-10-06 00:07:37 +02:00 committed by GitHub
commit 3ca74210d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 5 deletions

View file

@ -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 **Shipped version:** 0.12.10~ynh1
**Demo:** https://try.gogs.io/user/login **Demo:** https://try.gogs.io/user/login
## Screenshots ## Screenshots

View file

@ -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 quil est adapté à lauto-hébergement. Gogs a une interface web similaire à celle de GitHub. 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 quil est adapté à lauto-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 **Démo :** https://try.gogs.io/user/login

View file

@ -13,7 +13,8 @@
"website": "http://gogs.io", "website": "http://gogs.io",
"demo": "https://try.gogs.io/user/login", "demo": "https://try.gogs.io/user/login",
"admindoc": "https://gogs.io/docs", "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", "license": "MIT",
"maintainer": { "maintainer": {
@ -30,7 +31,7 @@
"mysql" "mysql"
], ],
"requirements": { "requirements": {
"yunohost": ">= 4.3.0" "yunohost": ">= 11.0.9"
}, },
"arguments": { "arguments": {
"install": [ "install": [
@ -59,4 +60,4 @@
} }
] ]
} }
} }

View file

@ -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 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=$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 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"