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

try fix change_url

This commit is contained in:
Robles Rodolphe 2021-05-07 17:44:17 +02:00
parent 43349c273d
commit 3cfeb09440
2 changed files with 3 additions and 2 deletions

View file

@ -3,4 +3,4 @@ SOURCE_SUM=b6f3088d063185c17bb63f6b33ee5f3ba481a28f73931060fbc5e844e1a56bf9
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.bz2
SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=
SOURCE_FILENAME=

View file

@ -93,7 +93,8 @@ else [ $change_path -eq 1 ]
fi
# Change the domain for NGINX
if [ $change_domain -eq 1 ]; then
if [ $change_domain -eq 1 ]
then
# Delete file checksum for the old conf file location
ynh_delete_file_checksum --file="$nginx_conf_path"
mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf