From 91ee2f2891eac797f91eee78e2044bdaac87ee26 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 May 2018 19:24:34 +0100 Subject: [PATCH] Don't create api directory --- src/freedombone-utils-android | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/freedombone-utils-android b/src/freedombone-utils-android index 40eddf7c..7c9b375c 100755 --- a/src/freedombone-utils-android +++ b/src/freedombone-utils-android @@ -41,8 +41,8 @@ function android_update_apps { systemctl restart nginx fi - if [ ! -d "/var/www/${local_hostname}/htdocs/plinth/api" ]; then - mkdir -p "/var/www/${local_hostname}/htdocs/plinth/api" + if [ ! -d "/var/www/${local_hostname}/htdocs/plinth" ]; then + mkdir -p "/var/www/${local_hostname}/htdocs/plinth" fi if [ ! -d "/var/www/${local_hostname}/htdocs/icons" ]; then mkdir -p "/var/www/${local_hostname}/htdocs/icons"