1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/misskey_ynh.git synced 2024-09-03 19:46:03 +02:00

Merge branch 'testing' into enh-testing

This commit is contained in:
Éric Gaspar 2021-05-15 18:36:50 +02:00 committed by GitHub
commit a4347d89db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -12,14 +12,14 @@
setup_nourl=0
setup_private=0
setup_public=1
upgrade=0
upgrade=1
#upgrade=0 from_commit=CommitHash
backup_restore=0
multi_instance=1
change_url=1
;;; Options
Email=anmol@datamol.org
Notification=all
Email=
Notification=
;;; Upgrade options
; commit=CommitHash
name=Name and date of the commit.

View file

@ -8,9 +8,9 @@
},
"version": "12.69.0~ynh1",
"url": "https://join.misskey.page/en/",
"license": "AGPL-3.0-or-later",
"license": "AGPL-3.0",
"maintainer": {
"name": "Anmol"
"name": "Anmol Sharma"
},
"requirements": {
"yunohost": ">= 4.2.4"

View file

@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
# Remove the service from the list of services known by Yunohost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null
if ynh_exec_warn_less yunohost service status "$app" >/dev/null
then
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app
@ -41,7 +41,7 @@ fi
ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1
# Remove the dedicated systemd config
ynh_remove_systemd_config
ynh_remove_systemd_config --service="$app"
#=================================================
# REMOVE THE POSTGRESQL DATABASE

View file

@ -93,7 +93,7 @@ fi
ynh_script_progression --message="Upgrading nginx web server configuration..."
# Create a dedicated nginx config
ynh_add_nginx_config
ynh_add_nginx_config 'port'
#=================================================
# UPGRADE DEPENDENCIES