plinth api directory
This commit is contained in:
parent
b597ac0971
commit
5776a4bb93
|
@ -1218,10 +1218,10 @@ function install_web_local_user_interface {
|
||||||
nginx_ensite "${local_hostname}"
|
nginx_ensite "${local_hostname}"
|
||||||
|
|
||||||
# Compatibility with FreedomBox android app
|
# Compatibility with FreedomBox android app
|
||||||
# The installed apps get published to a json file called "1"
|
# The installed apps get published to a json file called api.json
|
||||||
# in this directory
|
# in this directory
|
||||||
if [ ! -d "/var/www/${local_hostname}/htdocs/plinth/api" ]; then
|
if [ ! -d "/var/www/${local_hostname}/htdocs/plinth" ]; then
|
||||||
mkdir -p "/var/www/${local_hostname}/htdocs/plinth/api"
|
mkdir -p "/var/www/${local_hostname}/htdocs/plinth"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chown -R www-data:www-data "/var/www/${local_hostname}/htdocs"
|
chown -R www-data:www-data "/var/www/${local_hostname}/htdocs"
|
||||||
|
|
Loading…
Reference in New Issue