Skip to content

Commit

Permalink
MDEV-28194: Remove unneeded path from MariaDB server postinst script
Browse files Browse the repository at this point in the history
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
  • Loading branch information
illuusio authored and grooverdan committed Apr 12, 2022
1 parent 840bab8 commit bc75f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/mariadb-server-10.6.postinst
Expand Up @@ -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
Expand Down

0 comments on commit bc75f7e

Please sign in to comment.