1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net-mgmt/seafile/files/patch-scripts_setup-seafile.sh
Dmitry Marakasov e36a003848 - Update to 5.1.2
- Multiple port improvements

PR:		203933
Submitted by:	Ultima1252@gmail.com (maintainer)
2016-05-29 13:03:49 +00:00

16 lines
552 B
Bash

--- scripts/setup-seafile.sh.orig 2015-10-12 04:12:33 UTC
+++ scripts/setup-seafile.sh
@@ -340,7 +340,11 @@ fi
}
function copy_user_manuals() {
- src_docs_dir=${INSTALLPATH}/seafile/docs/
+ if [ $(uname | grep -e BSD -e DragonFly | wc -l) == "1" ]; then
+ src_docs_dir=${INSTALLPATH}/seafile/share/doc/seafile/
+ else
+ src_docs_dir=${INSTALLPATH}/seafile/docs/
+ fi
library_template_dir=${seafile_data_dir}/library-template
mkdir -p ${library_template_dir}
cp -f ${src_docs_dir}/*.doc ${library_template_dir}