浏览代码

Don't create api directory

Bob Mottram 6 年前
父节点
当前提交
91ee2f2891
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/freedombone-utils-android

+ 2
- 2
src/freedombone-utils-android 查看文件

41
         systemctl restart nginx
41
         systemctl restart nginx
42
     fi
42
     fi
43
 
43
 
44
-    if [ ! -d "/var/www/${local_hostname}/htdocs/plinth/api" ]; then
45
-        mkdir -p "/var/www/${local_hostname}/htdocs/plinth/api"
44
+    if [ ! -d "/var/www/${local_hostname}/htdocs/plinth" ]; then
45
+        mkdir -p "/var/www/${local_hostname}/htdocs/plinth"
46
     fi
46
     fi
47
     if [ ! -d "/var/www/${local_hostname}/htdocs/icons" ]; then
47
     if [ ! -d "/var/www/${local_hostname}/htdocs/icons" ]; then
48
         mkdir -p "/var/www/${local_hostname}/htdocs/icons"
48
         mkdir -p "/var/www/${local_hostname}/htdocs/icons"