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