aboutsummaryrefslogtreecommitdiffstats
path: root/community/seafile/seafile-server.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-10 13:38:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-10 13:38:42 +0000
commitedcd2fc03278ac8ff6c3cb1c98e33805ada8ce93 (patch)
treef17b6ac796d464a759e5ddb6e5eb3a64327d4c4f /community/seafile/seafile-server.post-install
parentbf4cf79b81f0ddb0c7c95b8d791ec48a2698f692 (diff)
downloadaports-edcd2fc03278ac8ff6c3cb1c98e33805ada8ce93.tar.bz2
aports-edcd2fc03278ac8ff6c3cb1c98e33805ada8ce93.tar.xz
community/seafile (and deps): move from main
Diffstat (limited to 'community/seafile/seafile-server.post-install')
-rw-r--r--community/seafile/seafile-server.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/community/seafile/seafile-server.post-install b/community/seafile/seafile-server.post-install
new file mode 100644
index 0000000000..4e46bd8da5
--- /dev/null
+++ b/community/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