From c5c07cfb2cfda6fb97adda60e75a4e16adcfff5f Mon Sep 17 00:00:00 2001 From: titoko Date: Tue, 8 Apr 2014 20:58:33 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 209950c..e9e2b79 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,13 +1,9 @@ #!/bin/bash # Retrieve arguments -domain=$1 -path=$2 +domain=$(sudo yunohost app setting jappix domain) +path=$(sudo yunohost app setting jappix path) -# Check domain/path availability -if [[ ! $? -eq 0 ]]; then -exit 1 -fi # Remove trailing "/" for next commands path=${path%/}