aboutsummaryrefslogtreecommitdiff
path: root/seafile/seafile-server.post-install
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:27:57 +0000
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2022-09-25 02:31:49 +0000
commit121d6f029f4ebc205915bb5a0c74ecde7d874b32 (patch)
treed8a25a59746b269a47eb3d76ba3c48082ea6b92a /seafile/seafile-server.post-install
parent5ed1ae372c629c87f79d7914d1520749ce82cd7c (diff)
downloadapkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.gz
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.tar.bz2
apkbuilds-121d6f029f4ebc205915bb5a0c74ecde7d874b32.zip
feat: Add some dependencies of seafile
Add initial setup for dependencies of seafile server
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