mirror of
https://github.com/YunoHost-Apps/flarum_ynh.git
synced 2024-09-03 18:36:24 +02:00
[fix] Useless Condition
This commit is contained in:
parent
820119b549
commit
73fd5b945c
1 changed files with 58 additions and 66 deletions
|
@ -173,8 +173,6 @@ systemctl reload nginx
|
||||||
# FLARUM POST-INSTALL
|
# FLARUM POST-INSTALL
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
if [[ -n $admin && -n $title ]]; then
|
|
||||||
# If admin user and title were specified, start post-installation
|
|
||||||
# Copy the configuration.yml to working directory
|
# Copy the configuration.yml to working directory
|
||||||
finalflarumconf="$final_path/configuration.yml"
|
finalflarumconf="$final_path/configuration.yml"
|
||||||
cp ../conf/configuration.yml $finalflarumconf
|
cp ../conf/configuration.yml $finalflarumconf
|
||||||
|
@ -238,9 +236,3 @@ if [[ -n $admin && -n $title ]]; then
|
||||||
Your forum is accessible at https://$domain$path_url"
|
Your forum is accessible at https://$domain$path_url"
|
||||||
>&2 echo $app_message
|
>&2 echo $app_message
|
||||||
ynh_send_readme_to_admin "$app_message" "$admin"
|
ynh_send_readme_to_admin "$app_message" "$admin"
|
||||||
else
|
|
||||||
# If admin user and title were not specified, ask admin to perform manual post-installation
|
|
||||||
app_message="Post-installation required, visit your Flarum instance."
|
|
||||||
>&2 echo $app_message
|
|
||||||
ynh_send_readme_to_admin "$app_message" "$admin"
|
|
||||||
fi
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue