diff --git a/README.md b/README.md index a7241ee..595a566 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Then reload the lutim service. ## Documentation * Official documentation: https://framagit.org/luc/lutim/wikis/home - * YunoHost documentation: https://yunohost.org/#/app_lutim + * YunoHost documentation: https://yunohost.org/en/app_lutim ## YunoHost specific features @@ -39,8 +39,8 @@ Not relevant. #### Supported architectures -* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/) -* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/) +* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/) +* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/) ## Limitations diff --git a/README_fr.md b/README_fr.md index 52491e7..6181fd8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ Rechargez ensuite le service Lutim. ## Documentation * Documentation officielle : https://framagit.org/luc/lutim/wikis/home - * Documentation YunoHost : https://yunohost.org/#/app_lutim_fr + * Documentation YunoHost : https://yunohost.org/fr/app_lutim ## Fonctionnalités spécifiques à YunoHost @@ -39,8 +39,8 @@ Non applicable. #### Architectures supportées. -* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/) -* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/) +* x86-64 - [![](https://ci-apps.yunohost.org/ci/logs/lutim.svg)](https://ci-apps.yunohost.org/ci/apps/lutim/) +* ARMv8-A - [![](https://ci-apps-arm.yunohost.org/ci/logs/lutim.svg)](https://ci-apps-arm.yunohost.org/ci/apps/lutim/) ## Limitations diff --git a/manifest.json b/manifest.json index c3e7890..e7d6539 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "email": "maniackc_dev@crudelis.fr" }], "requirements": { - "yunohost": ">= 3.8.1" + "yunohost": ">= 4.1.7" }, "multi_instance": false, "services": [ @@ -29,29 +29,17 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain for Lutim", - "fr": "Choisissez un domaine pour Lutim" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for Lutim", - "fr": "Choisissez un chemin pour Lutim" - }, "example": "/lutim", "default": "/lutim" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Uploading images is it public?", - "fr": "L'upload des images est-il public ?" - }, "default": false, "help": { "en": "If you set Lutim as public, everyone will be able to upload images and share them.
But even if not public, everyone can see an image from a link shared with your Lutim.", diff --git a/scripts/install b/scripts/install index 81edd90..e6a9358 100644 --- a/scripts/install +++ b/scripts/install @@ -139,9 +139,7 @@ ynh_add_systemd_config # SETUP CRON #================================================= -cp ../conf/cron_lutim /etc/cron.d/$app -ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file=/etc/cron.d/$app -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=/etc/cron.d/$app +ynh_add_config --template="../conf/cron_lutim" --destination="/etc/cron.d/$app" chmod +x $final_path/script/lutim #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 13824eb..3110b5c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -255,9 +255,7 @@ fi # SETUP CRON #================================================= -cp ../conf/cron_lutim /etc/cron.d/$app -ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path/" --target_file=/etc/cron.d/$app -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=/etc/cron.d/$app +ynh_add_config --template="../conf/cron_lutim" --destination="/etc/cron.d/$app" #================================================= # UPDATE LUTIM WITH CARTON