aboutsummaryrefslogtreecommitdiffstats
path: root/main/seafile/seafile-server.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/seafile/seafile-server.post-install')
-rw-r--r--main/seafile/seafile-server.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/seafile/seafile-server.post-install b/main/seafile/seafile-server.post-install
new file mode 100644
index 0000000000..4e46bd8da5
--- /dev/null
+++ b/main/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