create-default-conf-dir.patch 332 B

12345678910
  1. --- a/scripts/upgrade/upgrade_4.4_5.0.sh
  2. +++ a/scripts/upgrade/upgrade_4.4_5.0.sh
  3. @@ -206,6 +206,7 @@
  4. $seafile_data_dir/seafile.conf
  5. $seahub_settings_py
  6. )
  7. + mkdir -p $default_conf_dir
  8. for conffile in ${confs[*]}; do
  9. if grep -q "This file has been moved" $conffile; then
  10. continue