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

Merge pull request #16 from M5oul/patch-2

Retrieve domain variable
This commit is contained in:
Matlink 2015-12-21 22:24:40 +01:00
commit 34e628afa5

View file

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