mirror of
https://github.com/YunoHost-Apps/encryptic_ynh.git
synced 2024-09-03 18:26:30 +02:00
Cleaning up
This commit is contained in:
parent
0e6bb7727a
commit
f603ea4aa8
3 changed files with 1 additions and 14 deletions
|
@ -18,11 +18,7 @@
|
||||||
upgrade=1
|
upgrade=1
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
port_already_use=0
|
|
||||||
change_url=0
|
change_url=0
|
||||||
;;; Levels
|
|
||||||
# If the level 5 (Package linter) is forced to 1. Please add justifications here.
|
|
||||||
Level 5=auto
|
|
||||||
;;; Options
|
;;; Options
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Open-source note-taking application heavily focused on encryption.",
|
"en": "Open-source note-taking application heavily focused on encryption.",
|
||||||
"fr": "Application de prise de notes open source axée sur le chiffrement."
|
"fr": "Application de prise de notes open source axée sur le chiffrement."
|
||||||
},
|
},
|
||||||
"version": "0.1.0~ynh2",
|
"version": "0.1.0~ynh3",
|
||||||
"url": "https://www.encryptic.org/",
|
"url": "https://www.encryptic.org/",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -30,15 +30,6 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
||||||
# Fix is_public as a boolean value
|
|
||||||
if [ "$is_public" = "Yes" ]; then
|
|
||||||
ynh_app_setting_set --app=$app --key=is_public --value=1
|
|
||||||
is_public=1
|
|
||||||
elif [ "$is_public" = "No" ]; then
|
|
||||||
ynh_app_setting_set --app=$app --key=is_public --value=0
|
|
||||||
is_public=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If final_path doesn't exist, create it
|
# If final_path doesn't exist, create it
|
||||||
if [ -z "$final_path" ]; then
|
if [ -z "$final_path" ]; then
|
||||||
final_path=/var/www/$app
|
final_path=/var/www/$app
|
||||||
|
|
Loading…
Reference in a new issue