From 4305c46b7019e9f51d7e9c6106d4b2466c144d0f Mon Sep 17 00:00:00 2001 From: M5oul Date: Sun, 13 Dec 2015 18:29:29 +0100 Subject: [PATCH] Retrieve domain variable Retrieve domain variable which is used after --- scripts/remove | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/remove b/scripts/remove index bc09885..3bae481 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,7 @@ #! /bin/bash app=pluxml +domain=$(sudo yunohost app setting $app domain) sudo rm -rf /var/www/$app sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf