[Pkg-sympa-commits] [sympa] 03/06: Fix DB name (path) when using SQLite as database engine
Emmanuel Bouthenot
kolter at moszumanska.debian.org
Wed Sep 28 21:09:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
kolter pushed a commit to branch master
in repository sympa.
commit b584350cc22cdc913d905b17b864d5b60f4ee8f0
Author: Emmanuel Bouthenot <kolter at openics.org>
Date: Wed Sep 28 21:34:24 2016 +0200
Fix DB name (path) when using SQLite as database engine
---
debian/sympa.postinst | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/sympa.postinst b/debian/sympa.postinst
index 6b78509..f1d4d45 100644
--- a/debian/sympa.postinst
+++ b/debian/sympa.postinst
@@ -186,7 +186,7 @@ if [ "${RET}" != 'false' ]; then
;;
sqlite3)
type=SQLite
- name="$dbc_basepath/$dbc_dbname"
+ dbc_dbname="${dbc_basepath}/${dbc_dbname}"
;;
*)
echo "Unsupported database type $dbc_dbtype."
@@ -265,7 +265,6 @@ sympa_config_update "wwsympa_url" "${RET}"
db_get sympa/use_soap
use_soap="${RET}"
-# Use SOAP
if [ "$use_soap" = "true" ]; then
sympa_config_update "soap_url" "http://${hostname}/sympasoap"
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git
More information about the Pkg-sympa-commits
mailing list