Commit 64b9b65e authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-5986 MariaDB upgrade on CentOS 6 fails due to sed error

typo in the rpm server prein scriptlet
parent be785cd8
......@@ -3,7 +3,7 @@
installed=`rpm -q --whatprovides mysql-server 2> /dev/null`
if [ $? -eq 0 -a -n "$installed" ]; then
installed=`echo "$installed"|sed -n -1p`
installed=`echo "$installed"|sed -n 1p`
vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1`
version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1`
myvendor='%{mysql_vendor}'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment