1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00
This commit is contained in:
Thomas 2023-03-31 18:24:59 +02:00 committed by Félix Piédallu
parent a80b113259
commit 147f548976
3 changed files with 6 additions and 11 deletions

View file

@ -24,9 +24,9 @@ architectures = "all"
multi_instance = false
ldap = false
sso = false
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
[install]
[install.domain]

View file

@ -9,6 +9,8 @@
source _common.sh
source /usr/share/yunohost/helpers
password=$(ynh_app_setting_get --app=$app --key=password)
#=================================================
# STANDARD MODIFICATIONS
#=================================================

View file

@ -9,6 +9,7 @@
source _common.sh
source /usr/share/yunohost/helpers
password=$(ynh_app_setting_get --app=$app --key=password)
#=================================================
# CHECK VERSION
@ -30,14 +31,6 @@ if [ -z "$language_key" ]; then
ynh_app_setting_delete --app=$app --key=language
fi
# Create sharing permission if needed
if ! ynh_permission_exists --permission="sharing"; then
ynh_permission_create --permission="sharing" --url="/s" --allowed="visitors" --show_tile="false" --protected="true"
fi
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================