From bc75f7ed6d81138f8c2d8d2c800b9cf55bbaff7d Mon Sep 17 00:00:00 2001 From: Tuukka Pasanen Date: Thu, 10 Feb 2022 14:52:32 +0200 Subject: [PATCH] MDEV-28194: Remove unneeded path from MariaDB server postinst script Remove unndeeded paths from mariadb-server-10.6.postinst as it's already in export PATH and it fires 'command-with-path-in-maintainer-script' in lintian checks --- debian/mariadb-server-10.6.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/mariadb-server-10.6.postinst b/debian/mariadb-server-10.6.postinst index 13800b7bce2..93a1e4e8b87 100644 --- a/debian/mariadb-server-10.6.postinst +++ b/debian/mariadb-server-10.6.postinst @@ -115,7 +115,7 @@ EOF if [ -f "$mysql_datadir"/auto.cnf ] && [ -f "$mysql_datadir"/mysql/user.MYD ] && [ ! lsof -nt "$mysql_datadir"/mysql/user.MYD > /dev/null ] && [ ! -f "$mysql_datadir"/undo_001 ]; then echo "UPDATE mysql.user SET plugin='unix_socket' WHERE plugin='auth_socket';" | - /usr/sbin/mariadbd --skip-innodb --key_buffer_size=0 --default-storage-engine=MyISAM --bootstrap 2> /dev/null + mariadbd --skip-innodb --key_buffer_size=0 --default-storage-engine=MyISAM --bootstrap 2> /dev/null fi # Ensure the existence and right permissions for the database and