packages: davical/davical-php_data_dir.patch - fix awl path in create_datab...
pawelz
pawelz at pld-linux.org
Wed Sep 22 17:07:55 CEST 2010
Author: pawelz Date: Wed Sep 22 15:07:55 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- fix awl path in create_database.sh script
---- Files affected:
packages/davical:
davical-php_data_dir.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/davical/davical-php_data_dir.patch
diff -u packages/davical/davical-php_data_dir.patch:1.2 packages/davical/davical-php_data_dir.patch:1.3
--- packages/davical/davical-php_data_dir.patch:1.2 Wed Sep 22 15:43:33 2010
+++ packages/davical/davical-php_data_dir.patch Wed Sep 22 17:07:50 2010
@@ -24,3 +24,25 @@
}
// Ensure that ../inc is in our included paths as early as possible
+--- davical-0.9.9.2/dba/create-database.sh~ 2010-09-21 03:40:44.000000000 +0200
++++ davical-0.9.9.2/dba/create-database.sh 2010-09-22 17:02:18.000000000 +0200
+@@ -16,16 +16,10 @@
+
+ #
+ # Attempt to locate the AWL directory
+-AWLDIR="${DBADIR}/../../awl"
++AWLDIR="/usr/share/php/awl"
+ if ! testawldir "${AWLDIR}"; then
+- AWLDIR="/usr/share/awl"
+- if ! testawldir "${AWLDIR}"; then
+- AWLDIR="/usr/local/share/awl"
+- if ! testawldir "${AWLDIR}"; then
+- echo "Unable to find AWL libraries"
+- exit 1
+- fi
+- fi
++ echo "Unable to find AWL libraries"
++ exit 1
+ fi
+
+ export AWL_DBAUSER=davical_dba
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/davical/davical-php_data_dir.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list