[arch-commits] Commit in mariadb/trunk (mariadb.install)

Christian Hesse eworm at archlinux.org
Wed Mar 13 21:26:04 UTC 2019


    Date: Wednesday, March 13, 2019 @ 21:26:04
  Author: eworm
Revision: 347868

fix update message with dot in pkgrel

Modified:
  mariadb/trunk/mariadb.install

-----------------+
 mariadb.install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: mariadb.install
===================================================================
--- mariadb.install	2019-03-13 21:24:18 UTC (rev 347867)
+++ mariadb.install	2019-03-13 21:26:04 UTC (rev 347868)
@@ -8,7 +8,7 @@
 
 post_upgrade() {
   # show for feature release: 10.1 -> 10.2 -> 10.3 -> ...
-  if [ $(vercmp "${1%.*}" "${2%.*}") -ne 0 ]; then 
+  if [ $(vercmp "${1%.*-*}" "${2%.*-*}") -ne 0 ]; then 
     echo ":: MariaDB was updated to a new feature release. To update the data run:"
     echo "   systemctl restart mariadb.service && mysql_upgrade -u root -p"
   fi



More information about the arch-commits mailing list