From 009af5fc3cfca74d13d6f3c7d6f8407fbaf7525f Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Thu, 29 May 2014 12:09:07 +0200 Subject: [PATCH] [fix] Fetch domain before removal --- scripts/remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/remove b/scripts/remove index 7fad144..c1ef14a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,3 +1,5 @@ #!/bin/bash +domain=$(sudo yunohost app setting jappix domain) + sudo rm -rf /var/www/jappix sudo rm -f /etc/nginx/conf.d/$domain.d/jappix.conf