X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=debian%2Fpostinst;h=e959c3d25a1a48bff8602dc37ccf0bd548d18847;hb=b10ec01c4ff7ee1f5df130c64793fd393fc23ee5;hp=8cf13b8f88eb8efb1b1978f7306da46796556722;hpb=11e0f5a7fbca2ef10214641d15815937c06f7937;p=mysql-cn.git diff --git a/debian/postinst b/debian/postinst index 8cf13b8..e959c3d 100755 --- a/debian/postinst +++ b/debian/postinst @@ -11,7 +11,7 @@ PKG="mysql-cn" . /usr/share/carnet-tools/functions.sh if [ -f /etc/mysql/my.cnf ]; then - # ukljuci networking, da mysql visi na portu 3306 + # iskljuci zastarjelu opciju cp_check_and_sed '^skip-networking' \ 's/^skip-networking$/#skip-networking/' \ /etc/mysql/my.cnf && restart=yes || true @@ -25,6 +25,11 @@ 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 + + # iskljuci zastarjeli skip-bdb + cp_check_and_sed '^skip-bdb' \ + 's/^skip-bdb$/#skip-bdb/' \ + /etc/mysql/my.cnf && restart=yes || true fi # pristup samo sa lokalne mreze, preko tcp-wrappera... @@ -62,3 +67,5 @@ if [ -x /usr/sbin/invoke-rc.d ]; then else [ -x /etc/init.d/mysql ] && /etc/init.d/mysql restart fi + +#DEBHELPER#