1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xwiki_ynh.git synced 2024-09-03 20:36:11 +02:00

Use = intead of space for helper args to avoid issue with parameter

This commit is contained in:
Josué Tille 2024-04-26 21:58:54 +02:00
parent fd49fc543a
commit 40e081cecd
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5
3 changed files with 4 additions and 4 deletions

View file

@ -52,7 +52,7 @@ ynh_add_systemd_config
yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log" yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log"
ynh_use_logrotate --logfile "/var/log/$app" ynh_use_logrotate --logfile="/var/log/$app"
#================================================= #=================================================
# INSTALL EXTENSIONS # INSTALL EXTENSIONS

View file

@ -35,7 +35,7 @@ set_permissions
systemctl enable $app.service --quiet systemctl enable $app.service --quiet
yunohost service add $app --description=XWiki --log="/var/log/$app/$app.log" yunohost service add $app --description=XWiki --log="/var/log/$app/$app.log"
ynh_use_logrotate --logfile "/var/log/$app" ynh_use_logrotate --logfile="/var/log/$app"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -11,7 +11,7 @@ source /usr/share/yunohost/helpers
upgrade_type=$(ynh_check_app_version_changed) upgrade_type=$(ynh_check_app_version_changed)
if ynh_compare_current_package_version --comparison le --version '14.10.8~ynh1'; then if ynh_compare_current_package_version --comparison=le --version='14.10.8~ynh1'; then
ynh_die --mesage='Upgrade from this version is not supported. Please backup and restore manually the data after a clean new install' ynh_die --mesage='Upgrade from this version is not supported. Please backup and restore manually the data after a clean new install'
fi fi
@ -47,7 +47,7 @@ ynh_add_systemd_config
yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log" yunohost service add "$app" --description=XWiki --log="/var/log/$app/$app.log"
ynh_use_logrotate --logfile "/var/log/$app" ynh_use_logrotate --logfile="/var/log/$app"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION