From 2d62af34cc74932b472001703f83d3a5c295c40f Mon Sep 17 00:00:00 2001 From: janw Date: Thu, 18 Sep 2008 12:47:47 +0000 Subject: [PATCH] No output from postinst. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12518 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-server.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/debian/gosa-si-server.postinst b/gosa-si/debian/gosa-si-server.postinst index e20a28fc9..0affbd763 100644 --- a/gosa-si/debian/gosa-si-server.postinst +++ b/gosa-si/debian/gosa-si-server.postinst @@ -35,7 +35,7 @@ esac if [ -w /etc/gosa-si/server.conf ]; then for i in database username password host; do eval 'val=$'$i - grep -E "mysql-$i" /etc/gosa-si/server.conf | grep -vE '^ *#' && sed -i "/\[server\]/,/\[/s/mysql-$i\s*=\s*\(.*\)$/mysql-$i = $val/g" /etc/gosa-si/server.conf || sed -i " + grep -E "mysql-$i" /etc/gosa-si/server.conf | grep -vE '^ *#' &> /dev/null && sed -i "/\[server\]/,/\[/s/mysql-$i\s*=\s*\(.*\)$/mysql-$i = $val/g" /etc/gosa-si/server.conf || sed -i " /\[server\]/ a\ mysql-$i = $val" /etc/gosa-si/server.conf done -- 2.30.2