|
|
@@ -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')
|