1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grav_ynh.git synced 2024-09-03 19:16:01 +02:00

Récupérer la version stable lors de l'upgrade

This commit is contained in:
magikcypress 2017-03-23 14:44:29 +01:00
parent 99ce993c45
commit b6f63ecbc9

View file

@ -27,6 +27,8 @@ fi
final_path=/var/www/$app
SETUP_SOURCE "grav-admin-v1.1.17.zip"
# Modify Nginx configuration file and copy it to Nginx conf directory
sudo sed -i "s@__PATHTOCHANGE__@$path@g" /etc/nginx/conf.d/$domain.d/$app.conf
sudo sed -i "s@__FINALPATH__@$final_path@g" /etc/nginx/conf.d/$domain.d/$app.conf