X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=8cf13b8f88eb8efb1b1978f7306da46796556722;hb=11e0f5a7fbca2ef10214641d15815937c06f7937;hp=1d8f9b87605b36c15e0baec996d02fdab302798c;hpb=2922ab2f397d399054a16a93aae6ebd121aac370;p=mysql-cn.git diff --git a/debian/postinst b/debian/postinst index 1d8f9b8..8cf13b8 100755 --- a/debian/postinst +++ b/debian/postinst @@ -3,6 +3,7 @@ set -e [ "$1" = "configure" ] || exit 0 +[ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx PKG="mysql-cn" @@ -24,15 +25,6 @@ if [ -f /etc/mysql/my.cnf ]; then cp_check_and_sed '^log.*mysql.log' \ "s,^\([\t ]*log[\t ]*=\),#\1," \ /etc/mysql/my.cnf && restart=yes || true - - # ukljuci podrsku za hrvatsko znakovlje - # 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...