diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-14 01:37:14 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-11-14 01:37:14 +0100 |
commit | c692cb66623d99edfc727e79d58a34178c950037 (patch) | |
tree | 918f879598de324f6b44793ff5a67a9fc6f40cc2 /unmaintained/seahub/seahub.post-install | |
parent | d3c4ea88b13c42aae893bac0ca287fbd8dbc7983 (diff) | |
download | aports-c692cb66623d99edfc727e79d58a34178c950037.tar.bz2 aports-c692cb66623d99edfc727e79d58a34178c950037.tar.xz |
unmaintained/seahub: move from testing
This package is disabled for quite a long time.
Diffstat (limited to 'unmaintained/seahub/seahub.post-install')
-rw-r--r-- | unmaintained/seahub/seahub.post-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/unmaintained/seahub/seahub.post-install b/unmaintained/seahub/seahub.post-install new file mode 100644 index 0000000000..262e8be8fe --- /dev/null +++ b/unmaintained/seahub/seahub.post-install @@ -0,0 +1,9 @@ +#!/bin/sh + +SEAFILE_HOME=/var/lib/seafile +SEAFILE_DEFAULT=$SEAFILE_HOME/default + +if [[ ! -h $SEAFILE_DEFAULT/seafile-server/seahub ]]; then + su seafile -c "mkdir -m 755 -p $SEAFILE_DEFAULT/seafile-server" 2>/dev/null + su seafile -c "cp -R /usr/share/seahub $SEAFILE_DEFAULT/seafile-server" 2>/dev/null +fi
\ No newline at end of file |