mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
MDEV-26568 RPM logic prohibiting server major upgrade no longer works as expected
prevent %{VERSION} in the shell command to be expanded by rpmbuild
This commit is contained in:
parent
2f3f1cd05b
commit
6313702278
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
|||
installed=`rpm -q --whatprovides mysql-server 2> /dev/null`
|
||||
if [ $? -eq 0 -a -n "$installed" ]; then
|
||||
installed=`echo "$installed"|sed -n 1p`
|
||||
vendor=`rpm -q --queryformat='%{VENDOR}' "$installed" 2>&1 | sed 's/Monty Program AB/MariaDB Foundation/'`
|
||||
version=`rpm -q --queryformat='%{VERSION}' "$installed" 2>&1`
|
||||
vendor=`rpm -q --queryformat='%''{VENDOR}' "$installed" 2>&1 | sed 's/Monty Program AB/MariaDB Foundation/'`
|
||||
version=`rpm -q --queryformat='%''{VERSION}' "$installed" 2>&1`
|
||||
myvendor='%{mysql_vendor}'
|
||||
myversion='%{mysqlversion}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue