From e3238b7d7b915e2436b488a016dae757b4e25b88 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 2 Jul 2014 09:38:48 +0200 Subject: [PATCH] fix for bash --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 6b87069..d1b6ec4 100644 --- a/scripts/install +++ b/scripts/install @@ -58,11 +58,11 @@ cd $final_path/web/application && ln -s ../config config && cd $currentpath caldavdomain=$(sudo yunohost app setting $caldavapp domain) caldavpath=$(sudo yunohost app setting $caldavapp path) if [ $baikal -eq 1 ]; then - caldav_principal_url="https://$(caldavdomain)$(caldavpath)/cal.php/%u/" - caldav_calendar_url="https://$(caldavdomain)$(caldavpath)/cal.php/calendars/%s/" + caldav_principal_url="https://$caldavdomain$caldavpath/cal.php/%u/" + caldav_calendar_url="https://$caldavdomain$caldavpath/cal.php/calendars/%s/" elif [ $radicale -eq 1 ]; then - caldav_principal_url="https://$(caldavdomain)$(caldavpath)/%u/" - caldav_calendar_url="https://$(caldavdomain)$(caldavpath)/%s/" + caldav_principal_url="https://$caldavdomain$caldavpath/%u/" + caldav_calendar_url="https://$caldavdomain$caldavpath/%s/" fi sed -i "s@YNH_CALDAV_PRINCIPAL_URL@$caldav_principal_url@g" ../conf/caldav.php sed -i "s@YNH_CALDAV_CALENDAR_URL@$caldav_calendar_url@g" ../conf/caldav.php