You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
632 B

  1. diff --git a/tools/seafile-admin b/tools/seafile-admin
  2. index 495ceab..72b6a07 100755
  3. --- a/tools/seafile-admin
  4. +++ b/tools/seafile-admin
  5. @@ -502,7 +502,7 @@ def init_seahub():
  6. # create seahub_settings.py
  7. create_seahub_settings_py()
  8. - argv = [PYTHON, 'manage.py', 'syncdb']
  9. + argv = [PYTHON, 'manage.py', 'migrate']
  10. # Set proper PYTHONPATH before run django syncdb command
  11. env = get_seahub_env()
  12. @@ -512,7 +512,7 @@ def init_seahub():
  13. print
  14. if run_argv(argv, cwd=seahub_dir, env=env) != 0:
  15. - error('Seahub syncdb failed')
  16. + error('Seahub migrate failed')
  17. info('done')