diff options
author | xming <xmingske@gmail.com> | 2014-10-28 12:04:35 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-28 16:07:22 +0100 |
commit | 14d4216c926ef89f1c4ae5f50d17f2350f451035 (patch) | |
tree | dcbfde6241286ccec9f3a6eedfa2d2f47daffe49 /testing/seafile/seafile-controller.patch | |
parent | 0f6a83529742564e73ffc8cac13d5b159805a2e0 (diff) | |
download | aports-14d4216c926ef89f1c4ae5f50d17f2350f451035.tar.bz2 aports-14d4216c926ef89f1c4ae5f50d17f2350f451035.tar.xz |
testing/seafile: new aport
Cloud storage system with advanced support for file syncing, privacy protection and teamwork
https://github.com/haiwen/seafile/
Diffstat (limited to 'testing/seafile/seafile-controller.patch')
-rw-r--r-- | testing/seafile/seafile-controller.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/seafile/seafile-controller.patch b/testing/seafile/seafile-controller.patch new file mode 100644 index 0000000000..438064d5f3 --- /dev/null +++ b/testing/seafile/seafile-controller.patch @@ -0,0 +1,37 @@ +--- a/controller/seafile-controller.c 2014-01-16 19:56:24.183523103 +0100 ++++ b/controller/seafile-controller.c 2014-01-16 19:55:57.123523652 +0100 +@@ -281,7 +281,7 @@ + tmp = g_path_get_dirname (bin_dir); + installpath = g_path_get_dirname (tmp); + +- topdir = g_path_get_dirname (installpath); ++ // topdir = g_path_get_dirname (installpath); + + g_free (exectuble); + g_free (tmp); +@@ -643,6 +643,7 @@ + return -1; + } + ++ topdir = g_path_get_dirname(config_dir); + ctl->client = ccnet_client_new (); + ctl->sync_client = ccnet_client_new (); + +@@ -657,14 +658,14 @@ + } + + if (logdir == NULL) { +- char *topdir = g_path_get_dirname(config_dir); ++ //char *topdir = g_path_get_dirname(config_dir); + logdir = g_build_filename (topdir, "logs", NULL); + if (checkdir_with_mkdir(logdir) < 0) { + fprintf (stderr, "failed to create log folder \"%s\": %s\n", + logdir, strerror(errno)); + return -1; + } +- g_free (topdir); ++ //g_free (topdir); + } + + ctl->config_dir = config_dir; + |