X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=mysql-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=e959c3d25a1a48bff8602dc37ccf0bd548d18847;hp=8cf13b8f88eb8efb1b1978f7306da46796556722;hb=fa157e1c72b9c4be2e6ed98a7c653c243ad29d18;hpb=a8a01c6302d361c8057066aee6df7b0d939950ef 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#