1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/www/seahub/files/patch-send__user__notifications.sh.template
Dmitry Marakasov c277b9d124 - Update to 5.1.5
- Multiple port improvements

PR:		203929
Submitted by:	Ultima1252@gmail.com (maintainer)
2016-05-29 13:57:52 +00:00

17 lines
739 B
Plaintext

--- send_user_notifications.sh.template.orig 2015-11-26 15:49:19 UTC
+++ send_user_notifications.sh.template
@@ -1,9 +1,9 @@
#!/bin/sh
-cd /Users/xiez/seahub
+cd ##FIX_WWWDIR##/seafile-server/seahub
-export CCNET_CONF_DIR=/Users/xiez/basic/conf2
-export SEAFILE_CONF_DIR=/Users/xiez/basic/conf2/seafile-data
-export PYTHONPATH=/Library/Python/2.7/site-packages/Django-1.3.1:thirdpart:/usr/local/lib/python2.7/site-packages/:$PYTHONPATH
+export CCNET_CONF_DIR=##FIX_WWWDIR##/ccnet
+export SEAFILE_CONF_DIR=##FIX_WWWDIR##/seafile-data
+export PYTHONPATH=##FIX_LOCALBASE##/lib/##PYTHON_VERSION##/site-packages:##FIX_SEALIB##/##PYTHON_VERSION##/site-packages:##FIX_SITEPACKAGEDIR##:$PYTHONPATH
python manage.py send_user_notifications