diff --git a/README_fr.md b/README_fr.md index b8b0535..f314f9b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour ## Vue d'ensemble -Application de liste de tâches auto-hébergée +Application de liste de tâches auto-hébergée **Version incluse :** 0.17.1~ynh1 diff --git a/conf/front.src b/conf/front.src index 825c9fb..bb8fe0f 100644 --- a/conf/front.src +++ b/conf/front.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-unstable.zip -SOURCE_SUM=4e176ad1c4e44c0a40a2d6f7326ecb735960dd33ed378f11f2f6e40eb38ffa08 +SOURCE_URL=https://dl.vikunja.io/frontend/vikunja-frontend-0.17.0.zip +SOURCE_SUM=2d460109d1300ccc2116e2084669ebb5037d0a168467215b22d331876ec7e576 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=false diff --git a/conf/vikunja.src b/conf/vikunja.src index ab714b6..48f9550 100644 --- a/conf/vikunja.src +++ b/conf/vikunja.src @@ -4,4 +4,4 @@ SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=deb SOURCE_IN_SUBDIR=true SOURCE_FILENAME=vikunja-unstable-amd64.deb -SOURCE_EXTRACT=false +SOURCE_EXTRACT=false \ No newline at end of file diff --git a/manifest.json b/manifest.json index bcc5b61..3c76be7 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "packaging_format": 1, "description": { "en": "Self-hosted To-Do list application", - "fr": "Application de liste de tâches auto-hébergée " + "fr": "Application de liste de tâches auto-hébergée" }, "version": "0.17.1~ynh1", "url": "https://vikunja.io/", diff --git a/scripts/change_url b/scripts/change_url index 351e219..3200555 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -29,8 +29,6 @@ ynh_script_progression --message="Loading installation settings..." --weight=1 # Needed for helper "ynh_add_nginx_config" final_path=$(ynh_app_setting_get --app=$app --key=final_path) port=$(ynh_app_setting_get --app=$app --key=port) -admin=$(ynh_app_setting_get --app=$app --key=admin) -password=$(ynh_app_setting_get --app=$app --key=password) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd) diff --git a/scripts/install b/scripts/install index 731b6d0..c7239c8 100644 --- a/scripts/install +++ b/scripts/install @@ -102,6 +102,7 @@ chown -R $app:www-data "$final_path" #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 +mkdir -p "/etc/vikunja" redis_db=$(ynh_redis_get_free_db) ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml" @@ -115,7 +116,6 @@ ynh_script_progression --message="Installing backend..." --weight=15 tempdir="$(mktemp -d)" ynh_setup_source --dest_dir=$tempdir --source_id=vikunja ynh_exec_warn_less dpkg -i $tempdir/vikunja-unstable-amd64.deb - chmod +x /opt/vikunja/vikunja #================================================= diff --git a/scripts/remove b/scripts/remove index 8028b4e..27cefd7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -74,6 +74,7 @@ ynh_script_progression --message="Removing $app main directory..." --weight=6 # Remove the app directory securely ynh_secure_remove --file="$final_path" +ynh_secure_remove --file="/etc/vikunja" #================================================= # REMOVE NGINX CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 45b4c86..189c788 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -106,7 +106,7 @@ chmod +x /opt/vikunja/vikunja ynh_script_progression --message="Adding a configuration file..." --weight=1 redis_db=$(ynh_redis_get_free_db) -ynh_add_config --template="../conf/config.yml" --destination="/opt/vikunja/config.yml" +ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml" #chmod 600 "/etc/vikunja/config.yml"