diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:50:35 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-31 11:50:35 +0100 |
commit | bd40d543bcea6700c99518d1dda8e9c82e3449bf (patch) | |
tree | 68691b8f8eb470855c1655b7792599a815db5b4d /main/seahub/seahub.post-install | |
parent | c3e2c12d30f48a88fbc9b4aa98a0861ebb06d052 (diff) | |
download | aports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.bz2 aports-bd40d543bcea6700c99518d1dda8e9c82e3449bf.tar.xz |
testing/seafile: move seafile and deps to main
Diffstat (limited to 'main/seahub/seahub.post-install')
-rw-r--r-- | main/seahub/seahub.post-install | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/seahub/seahub.post-install b/main/seahub/seahub.post-install new file mode 100644 index 0000000000..262e8be8fe --- /dev/null +++ b/main/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 |