mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
e36a003848
- Multiple port improvements PR: 203933 Submitted by: Ultima1252@gmail.com (maintainer)
16 lines
552 B
Bash
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}
|