[Pkg-mysql-commits] r1281 - trunk/debian

Norbert Tretkowski nobse at alioth.debian.org
Sat Jun 28 11:46:38 UTC 2008


Author: nobse
Date: 2008-06-28 11:46:37 +0000 (Sat, 28 Jun 2008)
New Revision: 1281

Modified:
   trunk/debian/changelog
   trunk/debian/mysql-server-5.0.postinst
Log:
Fix deprecated chown usage.

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-06-28 11:40:51 UTC (rev 1280)
+++ trunk/debian/changelog	2008-06-28 11:46:37 UTC (rev 1281)
@@ -1,6 +1,8 @@
 mysql-dfsg-5.0 (5.0.51a-10) UNRELEASED; urgency=low
 
-  * Adjust file build-dependency to make lintian happy.
+  * Make lintian happy:
+    + Fix build-dependency on -1 revision.
+    + Fix deprecated chown usage.
 
  -- Norbert Tretkowski <nobse at debian.org>  Sat, 28 Jun 2008 13:40:13 +0200
 

Modified: trunk/debian/mysql-server-5.0.postinst
===================================================================
--- trunk/debian/mysql-server-5.0.postinst	2008-06-28 11:40:51 UTC (rev 1280)
+++ trunk/debian/mysql-server-5.0.postinst	2008-06-28 11:46:37 UTC (rev 1281)
@@ -116,7 +116,7 @@
     # The mysql_datadir must not be writable by the mysql user under any
     # circumstances as it contains scripts that are executed by root.
     set +e
-    chown -R 0.0 $mysql_datadir
+    chown -R 0:0 $mysql_datadir
     chown -R mysql $mysql_statedir
     chown -R mysql $mysql_rundir
     chown -R mysql:adm $mysql_newlogdir;	chmod 2750 $mysql_newlogdir;




More information about the Pkg-mysql-commits mailing list