From 19516eb03ad9b9832fd48652ab9511981a83d94f Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 22 Jul 2014 21:48:57 +0200 Subject: [PATCH] [fix] Get app settings, and fix comment. --- scripts/upgrade | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 4bc229b..4aba99a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,5 +1,9 @@ #!/bin/bash +# Get app settings +domain=$(sudo yunohost app setting radicale domain) +path=$(sudo yunohost app setting radicale path) + # Check depends installation sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python @@ -9,7 +13,7 @@ then sudo mv /usr/local/radicale /opt/yunohost/ fi -# Set permissions to searx directory +# Set permissions to radicale directory sudo grep radicaled /etc/passwd > /dev/null 2>&1 if [ $? != 0 ]; then