mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
Fix
This commit is contained in:
parent
35712049d0
commit
a917676a74
3 changed files with 4 additions and 9 deletions
|
@ -3,8 +3,8 @@
|
|||
"id": "cockpit",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Cockpit package for YunoHost.",
|
||||
"fr": "Cockpit pour YunoHost."
|
||||
"en": "Sysadmin login session in a web browser.",
|
||||
"fr": "Session de connexion sysadmin dans un navigateur Web."
|
||||
},
|
||||
"version": "232~ynh1",
|
||||
"url": "https://cockpit-project.org/",
|
||||
|
@ -19,7 +19,6 @@
|
|||
"multi_instance": false,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.0-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION="7.3"
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="cockpit"
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
|
||||
#final_path=/opt/yunohost/$app
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
@ -32,7 +30,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
ynh_script_progression --message="Backing up HedgeDoc before upgrading (may take a while)..." --weight=120
|
||||
ynh_script_progression --message="Backing up HedgeDoc before upgrading (may take a while)..." --weight=12
|
||||
|
||||
# Backup the current version of the app
|
||||
ynh_backup_before_upgrade
|
||||
|
|
Loading…
Reference in a new issue