aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seafile/seafile-server.post-install
diff options
context:
space:
mode:
authorxming <xmingske@gmail.com>2014-10-28 12:04:35 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 16:07:22 +0100
commit14d4216c926ef89f1c4ae5f50d17f2350f451035 (patch)
treedcbfde6241286ccec9f3a6eedfa2d2f47daffe49 /testing/seafile/seafile-server.post-install
parent0f6a83529742564e73ffc8cac13d5b159805a2e0 (diff)
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-server.post-install')
-rw-r--r--testing/seafile/seafile-server.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/seafile/seafile-server.post-install b/testing/seafile/seafile-server.post-install
new file mode 100644
index 00000000000..4e46bd8da56
--- /dev/null
+++ b/testing/seafile/seafile-server.post-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+SEAFILE_HOME=/var/lib/seafile
+SEAFILE_DEFAULT=$SEAFILE_HOME/default
+
+if [[ ! -d $SEAFILE_DEFAULT/scripts ]]; then
+ cd $SEAFILE_DEFAULT
+ cp -ar /usr/share/seafile/scripts .
+fi \ No newline at end of file