1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jirafeau_ynh.git synced 2024-09-03 19:35:53 +02:00

Merge pull request #78 from trogeat/trogeat-patch-regexp-change-url

fix regexp for change_url script
This commit is contained in:
Kayou 2020-11-27 18:02:27 +01:00 committed by GitHub
commit c839975361
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,7 @@ fi
#================================================= #=================================================
# Change domain name in parameters.yml # Change domain name in parameters.yml
ynh_replace_string --match_string="\$cfg['web_root'] = .*" --replace_string="\$cfg['web_root'] = 'https://' . '$new_domain' . '${new_path%/}' . '/';" --target_file="$final_path/lib/config.local.php" ynh_replace_string --match_string="\$cfg\['web_root'\] = .*" --replace_string="\$cfg['web_root'] = 'https://' . '$new_domain' . '${new_path%/}' . '/';" --target_file="$final_path/lib/config.local.php"
#================================================= #=================================================
# GENERIC FINALISATION # GENERIC FINALISATION