1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Remove obsolete subfolder path fix

This commit is contained in:
Jimmy Monin 2020-05-12 17:23:26 +02:00
parent 45f4f22323
commit 05e5359d70

View file

@ -262,16 +262,6 @@ INSERT INTO site_settings (name, data_type, value, created_at, updated_at) VALUE
INSERT INTO site_settings (name, data_type, value, created_at, updated_at) VALUES ('force_https', 5, 't', 'NOW()', 'NOW()'); INSERT INTO site_settings (name, data_type, value, created_at, updated_at) VALUES ('force_https', 5, 't', 'NOW()', 'NOW()');
" "
#=================================================
# FIX INITIAL POSTS LINKS FOR SUBFOLDER INSTALL
#=================================================
ynh_print_info --message="Fixing initial post links..."
if [ "$path_url" != "/" ] ; then
exec_login_as $app RAILS_ENV=production bundle exec script/discourse remap /images/welcome/ $path_url/images/welcome/ <<< "YES
"
fi
#================================================= #=================================================
# CREATE DISCOURSE ADMIN USER # CREATE DISCOURSE ADMIN USER
#================================================= #=================================================