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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Fri Dec 9 22:18:00 UTC 2016


    Date: Friday, December 9, 2016 @ 22:17:59
  Author: bpiotrowski
Revision: 282984

upgpkg: wpa_supplicant 1:2.6-4

fix vercmp invocation

Modified:
  wpa_supplicant/trunk/PKGBUILD
  wpa_supplicant/trunk/wpa_supplicant.install

------------------------+
 PKGBUILD               |    2 +-
 wpa_supplicant.install |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-09 21:43:24 UTC (rev 282983)
+++ PKGBUILD	2016-12-09 22:17:59 UTC (rev 282984)
@@ -4,7 +4,7 @@
 
 pkgname=wpa_supplicant
 pkgver=2.6
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="A utility providing key negotiation for WPA wireless networks"
 url="http://hostap.epitest.fi/wpa_supplicant"

Modified: wpa_supplicant.install
===================================================================
--- wpa_supplicant.install	2016-12-09 21:43:24 UTC (rev 282983)
+++ wpa_supplicant.install	2016-12-09 22:17:59 UTC (rev 282984)
@@ -1,5 +1,5 @@
 post_upgrade() {
-  if [[ $(vercmp '1:2.6-2' "$2") -lt 1 ]]; then
+  if [[ $(vercmp "$2" '1:2.6-3') -lt 0 ]]; then
     echo ':: The /etc/wpa_supplicant/wpa_supplicant.conf is file no longer managed by pacman'
     echo '   and if it was modified, it has been renamed to wpa_supplicant.conf.pacsave.'
     echo '   Move it to the original location if needed.'



More information about the arch-commits mailing list