diff --git a/README.md b/README.md index 8c8fbb3..bfcef8a 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ How to configure this app: From an admin panel, a plain file with SSH, or any ot ## Documentation - * Official documentation: Link to the official documentation of this app + * Official documentation:https://github.com/Laverna/laverna/wiki * YunoHost documentation: If specific documentation is needed, feel free to contribute. ## YunoHost specific features diff --git a/README_fr.md b/README_fr.md index d6b59c5..c4e3994 100644 --- a/README_fr.md +++ b/README_fr.md @@ -28,7 +28,7 @@ Comment configurer cette application : via le panneau d'administration, un fichi ## Documentation - * Documentation officielle : Lien vers la documentation officielle de cette application. + * Documentation officielle : https://github.com/Laverna/laverna/wiki * Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer. ## Caractéristiques spécifiques YunoHost diff --git a/check_process b/check_process index eb06de8..dee5978 100644 --- a/check_process +++ b/check_process @@ -7,7 +7,6 @@ ; Manifest domain="domain.tld" (DOMAIN) path="/path" (PATH) - admin="john" (USER) is_public=1 (PUBLIC|public=1|private=0) ; Checks pkg_linter=1 @@ -30,5 +29,5 @@ Notification=none ;;; Upgrade options ; commit=CommitHash name=Name and date of the commit. - manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666& + manifest_arg=domain=DOMAIN&path=PATH&is_public=1& diff --git a/scripts/install b/scripts/install index aed5d9c..aa15ac6 100755 --- a/scripts/install +++ b/scripts/install @@ -12,10 +12,6 @@ source /usr/share/yunohost/helpers # MANAGE SCRIPT FAILURE #================================================= -ynh_clean_setup () { - true -} -# Exit if an error occurs during the execution of the script ynh_abort_if_errors #================================================= diff --git a/scripts/remove b/scripts/remove index 28ad183..3d7218c 100755 --- a/scripts/remove +++ b/scripts/remove @@ -23,7 +23,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= # REMOVE APP MAIN DIR #================================================= -ynh_script_progression --message="Removing $app main directory..." --weight=3 +ynh_script_progression --message="Removing Laverna main directory..." --weight=3 # Remove the app directory securely ynh_secure_remove --file="$final_path" diff --git a/scripts/restore b/scripts/restore index 3f60c97..bb31e73 100755 --- a/scripts/restore +++ b/scripts/restore @@ -47,7 +47,7 @@ ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= # RESTORE THE APP MAIN DIR #================================================= -ynh_script_progression --message="Restoring $app main directory..." --weight=2 +ynh_script_progression --message="Restoring Laverna main directory..." --weight=2 ynh_restore_file --origin_path="$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index b95b4b7..2a0ebae 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -49,7 +49,7 @@ fi #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -ynh_script_progression --message="Backing up $app before upgrading (may take a while)..." --weight=3 +ynh_script_progression --message="Backing up Laverna before upgrading..." --weight=3 # Backup the current version of the app ynh_backup_before_upgrade @@ -104,4 +104,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Upgrade ofLaverna completed" --last +ynh_script_progression --message="Upgrade of Laverna completed" --last