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

Merge pull request #3 from Kloadut/patch-1

[fix] Fetch domain before removal
This commit is contained in:
titoko 2014-05-29 20:33:02 +02:00
commit 3ee962df92

View file

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
domain=$(sudo yunohost app setting jappix domain)
sudo rm -rf /var/www/jappix sudo rm -rf /var/www/jappix
sudo rm -f /etc/nginx/conf.d/$domain.d/jappix.conf sudo rm -f /etc/nginx/conf.d/$domain.d/jappix.conf