From 2922ab2f397d399054a16a93aae6ebd121aac370 Mon Sep 17 00:00:00 2001 From: Ivan Rako Date: Tue, 18 Sep 2007 15:17:26 +0000 Subject: [PATCH] r2: --- debian/postinst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/debian/postinst b/debian/postinst index 4bf896b..1d8f9b8 100755 --- a/debian/postinst +++ b/debian/postinst @@ -26,12 +26,13 @@ if [ -f /etc/mysql/my.cnf ]; then /etc/mysql/my.cnf && restart=yes || true # ukljuci podrsku za hrvatsko znakovlje - if ! grep -q default-character-set /etc/mysql/my.cnf; then - awk '/^\[mysqld\]/{print "[mysqld]"; print "default-character-set=croat"; getline}{print $0}' \ - /etc/mysql/my.cnf > /etc/mysql/mysql-cn.$$ - cp_mv /etc/mysql/mysql-cn.$$ /etc/mysql/my.cnf - restart=yes - fi + # ne radi na Etch-u + #if ! grep -q default-character-set /etc/mysql/my.cnf; then + # awk '/^\[mysqld\]/{print "[mysqld]"; print "default-character-set=croat"; getline}{print $0}' \ + # /etc/mysql/my.cnf > /etc/mysql/mysql-cn.$$ + # cp_mv /etc/mysql/mysql-cn.$$ /etc/mysql/my.cnf + # restart=yes + #fi fi # pristup samo sa lokalne mreze, preko tcp-wrappera... -- 1.7.10.4