mirror of
https://github.com/YunoHost-Apps/luckysheet_ynh.git
synced 2024-09-03 19:36:21 +02:00
Fix
This commit is contained in:
parent
4b0ec0cc17
commit
9d4ff14fc0
5 changed files with 23 additions and 7 deletions
|
@ -6,7 +6,7 @@
|
|||
"en": "Online spreadsheet that is powerful, simple to configure, and completely open source.",
|
||||
"fr": "Feuille de calcul en ligne, puissante, simple à configurer et entièrement open source."
|
||||
},
|
||||
"version": "2.1.13~ynh1",
|
||||
"version": "2.1.13~ynh2",
|
||||
"url": "https://github.com/mengshukeji/Luckysheet",
|
||||
"license": "MIT",
|
||||
"maintainer": {
|
||||
|
|
|
@ -10,3 +10,7 @@
|
|||
- [ ] Fix or enhancement tested.
|
||||
- [ ] Upgrade from last version tested.
|
||||
- [ ] Can be reviewed and tested.
|
||||
|
||||
## Package_check results
|
||||
---
|
||||
* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"*
|
||||
|
|
|
@ -147,17 +147,17 @@ yunohost service add $app --description="Online spreadsheet like excel" --log="/
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Serving files from: dist"
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving files from: dist"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring SSOwat..." --weight=1
|
||||
ynh_script_progression --message="Configuring permissions..." --weight=1
|
||||
|
||||
# Make app public if necessary or protect it
|
||||
if [ $is_public -eq 1 ]
|
||||
then
|
||||
ynh_permission_update --permission "main" --add "visitors"
|
||||
ynh_permission_update --permission="main" --add="visitors"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -102,7 +102,7 @@ yunohost service add $app --description="Online spreadsheet like excel" --log="/
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Serving files from: dist"
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving files from: dist"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -29,6 +29,18 @@ ynh_script_progression --message="Checking version..."
|
|||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
# Cleaning legacy permissions
|
||||
if ynh_legacy_permissions_exists; then
|
||||
ynh_legacy_permissions_delete_all
|
||||
|
||||
ynh_app_setting_delete --app=$app --key=is_public
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
|
@ -50,7 +62,7 @@ ynh_abort_if_errors
|
|||
#=================================================
|
||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||
ynh_systemd_action --service_name=$app --action=stop --log_path=systemd
|
||||
|
||||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
|
@ -141,7 +153,7 @@ yunohost service add $app --description="Online spreadsheet like excel" --log="/
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Serving files from: dist"
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving files from: dist"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
|
|
Loading…
Add table
Reference in a new issue