Commit 43a9e655 authored by Nirbhay Choubey's avatar Nirbhay Choubey

MDEV#6132: yum update for MGC-10.0 fails (10.0.7 -> 10.0.10)

Fixed the incorrect sed command.
parent b11be052
......@@ -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