From: Ivan Rako Date: Tue, 18 Sep 2007 15:17:26 +0000 (+0000) Subject: r2: X-Git-Tag: debian/5.1.49-1~10 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=2922ab2f397d399054a16a93aae6ebd121aac370;p=mariadb-cn.git r2: --- 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...