diff --git a/manifest.json b/manifest.json index 192106c..a31edb1 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Forum software that is easy to use, powerful, and highly customisable", "fr": "Forum facile à utiliser, puissant et hautement personnalisable" }, - "version": "3.3.4~ynh2", + "version": "3.3.4~ynh3", "url": "http://www.phpbb.com/", "upstream": { "license": "GPL-2.0-only", diff --git a/scripts/install b/scripts/install index 2608e64..b94b85e 100644 --- a/scripts/install +++ b/scripts/install @@ -144,13 +144,6 @@ ynh_add_config --template="../conf/phpbb.cron" --destination="$cron_path" chown root: "$cron_path" chmod 644 "$cron_path" -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log" - #================================================= # SETUP SSOWAT #================================================= diff --git a/scripts/remove b/scripts/remove index 63b1d85..5eb5ecd 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,19 +22,6 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name final_path=$(ynh_app_setting_get --app=$app --key=final_path) -#================================================= -# STANDARD REMOVE -#================================================= -# REMOVE SERVICE INTEGRATION IN YUNOHOST -#================================================= - -# 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 -then - ynh_script_progression --message="Removing $app service integration..." --weight=1 - yunohost service remove $app -fi - #================================================= # REMOVE THE MYSQL DATABASE #================================================= diff --git a/scripts/restore b/scripts/restore index cbf519f..7a5d9aa 100644 --- a/scripts/restore +++ b/scripts/restore @@ -91,13 +91,6 @@ ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./ ynh_restore_file --origin_path="/etc/cron.d/$app" -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log" - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d42f8ce..35bc1b8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -145,13 +145,6 @@ ynh_add_config --template="../conf/phpbb.cron" --destination="$cron_path" chown root: "$cron_path" chmod 644 "$cron_path" -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - -yunohost service add $app --description="Forum bulletin board software solution" --log="/var/log/$app/$app.log" - #================================================= # RELOAD NGINX #=================================================