소스 검색

autogenerate color.json file in backend setup script

Guénaël Muller 5 년 전
부모
커밋
12f5132753
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      backend_lib.sh

+ 5 - 0
backend_lib.sh 파일 보기

37
        log "generate missing wsgidav.conf ..."
37
        log "generate missing wsgidav.conf ..."
38
        cp wsgidav.conf.sample wsgidav.conf
38
        cp wsgidav.conf.sample wsgidav.conf
39
     fi
39
     fi
40
+
41
+    if [ ! -f ../color.json ]; then
42
+       log "generate missing color.json ..."
43
+       cp ../color.json.sample ../color.json
44
+    fi
40
 }
45
 }
41
 
46
 
42
 function setup_db {
47
 function setup_db {