projects
/
mysql-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lintian izmjene, plus zastarjele opcije
[mysql-cn.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
8cf13b8
..
e959c3d
100755
(executable)
--- 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
. /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
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
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...
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
else
[ -x /etc/init.d/mysql ] && /etc/init.d/mysql restart
fi
+
+#DEBHELPER#