diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-04-07 20:41:28 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-04-07 20:41:28 +0200 |
commit | 64b9b65eb5e0ecddeff02ce03253c63728d378d9 (patch) | |
tree | 9789b256f392bfbd556b6d28682903c8c70e7037 /support-files | |
parent | be785cd85ce73d5927365c1c34e3c5b54db83231 (diff) | |
download | mariadb-git-64b9b65eb5e0ecddeff02ce03253c63728d378d9.tar.gz |
MDEV-5986 MariaDB upgrade on CentOS 6 fails due to sed error
typo in the rpm server prein scriptlet
Diffstat (limited to 'support-files')
-rw-r--r-- | support-files/rpm/server-prein.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/server-prein.sh b/support-files/rpm/server-prein.sh index cf72aefb50f..75f7e7d64cf 100644 --- a/support-files/rpm/server-prein.sh +++ b/support-files/rpm/server-prein.sh @@ -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}' |