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:
parent
fd5ba4986c
commit
6f31241bfe
3 changed files with 12 additions and 6 deletions
|
@ -29,10 +29,6 @@ ram.runtime = "50M"
|
||||||
[install.domain]
|
[install.domain]
|
||||||
type = "domain"
|
type = "domain"
|
||||||
|
|
||||||
[install.path]
|
|
||||||
type = "path"
|
|
||||||
default = "/libreto"
|
|
||||||
|
|
||||||
[install.init_main_permission]
|
[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.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 n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
help.fr = "Si cette case est cochée, Libreto sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
|
||||||
|
@ -65,4 +61,3 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "php8.0-fpm"
|
packages = "php8.0-fpm"
|
||||||
|
|
|
@ -9,6 +9,14 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
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
|
# STORE SETTINGS FROM MANIFEST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -13,4 +13,7 @@ test_format = 1.0
|
||||||
# Commits to test upgrade from
|
# 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 = "/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue