r2:
authorIvan Rako <Ivan.Rako@CARNet.hr>
Tue, 18 Sep 2007 15:17:26 +0000 (15:17 +0000)
committerIvan Rako <Ivan.Rako@CARNet.hr>
Tue, 18 Sep 2007 15:17:26 +0000 (15:17 +0000)
debian/postinst

index 4bf896b..1d8f9b8 100755 (executable)
@@ -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...