13 lines
597 B
Diff
13 lines
597 B
Diff
|
--- seafile-3.1.12/scripts/setup-seafile-mysql.py.orig 2015-01-01 21:57:52.000000000 +0100
|
||
|
+++ seafile-3.1.12/scripts/setup-seafile-mysql.py 2015-01-22 21:26:27.425379254 +0100
|
||
|
@@ -1081,8 +1081,7 @@
|
||
|
if not os.path.exists(seahub_data_dir):
|
||
|
os.mkdir(seahub_data_dir)
|
||
|
|
||
|
- shutil.move(orig_avatar_dir, dest_avatar_dir)
|
||
|
- os.symlink('../../../seahub-data/avatars', orig_avatar_dir)
|
||
|
+ shutil.copytree(orig_avatar_dir, dest_avatar_dir)
|
||
|
except Exception, e:
|
||
|
Utils.error('Failed to prepare seahub avatars dir: %s' % e)
|
||
|
|