1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreto_ynh.git synced 2024-09-03 19:36:14 +02:00

Remove path question and subdir installation.

Add args.path = "/" for old test_upgrade_from.
This commit is contained in:
Salamandar 2024-01-24 09:14:15 +01:00 committed by Salamandar
parent fd5ba4986c
commit 6f31241bfe
3 changed files with 12 additions and 6 deletions

View file

@ -29,10 +29,6 @@ ram.runtime = "50M"
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/libreto"
[install.init_main_permission]
help.en = "If enabled, Libreto will be accessible by people who do not have an account. This can be changed later via the webadmin."
help.fr = "Si cette case est cochée, Libreto sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
@ -65,4 +61,3 @@ ram.runtime = "50M"
[resources.apt]
packages = "php8.0-fpm"

View file

@ -9,6 +9,14 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# INITIALIZE AND STORE SETTINGS
#=================================================
# FIXME: subdir install does not seem to be supported anymore.
path="/"
ynh_app_setting_set --app="$app" --key=path --value="$path"
#=================================================
# STORE SETTINGS FROM MANIFEST
#=================================================

View file

@ -13,4 +13,7 @@ test_format = 1.0
# Commits to test upgrade from
# -------------------------------
test_upgrade_from.ce19369d.name = "Upgrade from 0.0.20180605~ynh3"
[default.test_upgrade_from.ce19369d]
name = "Upgrade from 0.0.20180605~ynh3"
args.domain = "sub.domain.tld"
args.path = "/"