mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
commit
28f03211e7
7 changed files with 3 additions and 37 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Forum software that is easy to use, powerful, and highly customisable
|
||||
|
||||
**Shipped version:** 3.3.4~ynh2
|
||||
**Shipped version:** 3.3.4~ynh3
|
||||
|
||||
**Demo:** https://www.phpbb.com/demo/
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Forum facile à utiliser, puissant et hautement personnalisable
|
||||
|
||||
**Version incluse :** 3.3.4~ynh2
|
||||
**Version incluse :** 3.3.4~ynh3
|
||||
|
||||
**Démo :** https://www.phpbb.com/demo/
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue