mirror of
https://github.com/YunoHost-Apps/firefly-iii-di_ynh.git
synced 2024-09-03 18:36:21 +02:00
commit
4d02b6f317
2 changed files with 5 additions and 6 deletions
|
@ -2,7 +2,8 @@ packaging_format = 2
|
|||
|
||||
id = "firefly-iii-di"
|
||||
name = "Firefly III Importer"
|
||||
description.en = "Self-hosted financial manager"
|
||||
description.en = "Firefly III Data Importer"
|
||||
description.fr = "Importateur de données Firefly III"
|
||||
|
||||
version = "1.2.2~ynh1"
|
||||
|
||||
|
@ -44,7 +45,6 @@ ram.runtime = "50M"
|
|||
url = "https://github.com/firefly-iii/data-importer/archive/refs/tags/v1.2.2.tar.gz"
|
||||
sha256 = "2e69f8b68ab8fd0f078e585feb2128b99bf2dd3088c057d2dbd1c75a20860732"
|
||||
|
||||
|
||||
[resources.system_user]
|
||||
|
||||
[resources.install_dir]
|
||||
|
@ -54,4 +54,3 @@ ram.runtime = "50M"
|
|||
|
||||
[resources.apt]
|
||||
packages = "php8.2-xml php8.2-bcmath"
|
||||
|
||||
|
|
|
@ -28,19 +28,19 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
ynh_script_progression --message="Ensuring downward compatibility..."
|
||||
|
||||
# If fpm_footprint doesn't exist, create it
|
||||
if [ -z "$fpm_footprint" ]; then
|
||||
if [ -z "${fpm_footprint:-}" ]; then
|
||||
fpm_footprint=low
|
||||
ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint
|
||||
fi
|
||||
|
||||
# If fpm_free_footprint doesn't exist, create it
|
||||
if [ -z "$fpm_free_footprint" ]; then
|
||||
if [ -z "${fpm_free_footprint:-}" ]; then
|
||||
fpm_free_footprint=0
|
||||
ynh_app_setting_set --app=$app --key=fpm_free_footprint --value=$fpm_free_footprint
|
||||
fi
|
||||
|
||||
# If fpm_usage doesn't exist, create it
|
||||
if [ -z "$fpm_usage" ]; then
|
||||
if [ -z "${fpm_usage:-}" ]; then
|
||||
fpm_usage=low
|
||||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue