summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTuukka Pasanen <tuukka.pasanen@ilmi.fi>2022-02-10 14:52:32 +0200
committerDaniel Black <daniel@mariadb.org>2022-04-12 13:28:30 +1000
commitbc75f7ed6d81138f8c2d8d2c800b9cf55bbaff7d (patch)
treed4e46d26f5d0af1cc67bdd91df289a87f61d377e /debian
parent840bab858b643ef6c03f1c5a47809e6e5e061499 (diff)
downloadmariadb-git-bc75f7ed6d81138f8c2d8d2c800b9cf55bbaff7d.tar.gz
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
Diffstat (limited to 'debian')
-rw-r--r--debian/mariadb-server-10.6.postinst2
1 files changed, 1 insertions, 1 deletions
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