瀏覽代碼

fixed install order

Gamaliel Espinoza 7 年之前
父節點
當前提交
023ee0508c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      configure.py

+ 2 - 2
configure.py

@@ -71,7 +71,7 @@ if not os.path.isdir(box_path):
 if not os.path.isfile(db_path):
     print('** Preparing local database')
     sp.call(['fourier', 'db', 'setup'])
+    os.chown(db_path, user.pw_uid, user.pw_gid)
     print('** Applying migrations')
     sp.call(['fourier', 'db', 'migrate'])
-    print('** Creating database')
-    os.chown(db_path, user.pw_uid, user.pw_gid)
+    print('** Creating database')