aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/seafile/seafile-server.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-25 09:50:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-25 09:50:54 +0000
commit6e5499bca18c723547152560886ab3bb043c6e8f (patch)
tree6c656668224c7656762f04b92fea6f53126f972b /unmaintained/seafile/seafile-server.post-install
parentb7c051f17ccedcb66fe19ad331d2ff3f2a4cdaa8 (diff)
downloadaports-6e5499bca18c723547152560886ab3bb043c6e8f.tar.bz2
aports-6e5499bca18c723547152560886ab3bb043c6e8f.tar.xz
move seafile and deps to unmaintained
it does not work
Diffstat (limited to 'unmaintained/seafile/seafile-server.post-install')
-rw-r--r--unmaintained/seafile/seafile-server.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/unmaintained/seafile/seafile-server.post-install b/unmaintained/seafile/seafile-server.post-install
new file mode 100644
index 000000000..4e46bd8da
--- /dev/null
+++ b/unmaintained/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