X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=mysql-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=1d8f9b87605b36c15e0baec996d02fdab302798c;hp=4bf896b068b74e0adae88afbf97b8aea08769d43;hb=2922ab2f397d399054a16a93aae6ebd121aac370;hpb=94ed0d871649e73400c860ae9b577d3c5b617800 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...