Don't create api directory

This commit is contained in:
Bob Mottram 2018-05-26 19:24:34 +01:00
parent 601a402bc2
commit 91ee2f2891
1 changed files with 2 additions and 2 deletions

View File

@ -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"