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

Dave Reisner dreisner at archlinux.org
Thu Oct 3 17:03:36 UTC 2019


    Date: Thursday, October 3, 2019 @ 17:03:35
  Author: dreisner
Revision: 363706

upgpkg: pkgfile 20-2

- fix bad comparison in post_upgrade

Modified:
  pkgfile/trunk/PKGBUILD
  pkgfile/trunk/pkgfile.install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-03 16:52:22 UTC (rev 363705)
+++ PKGBUILD	2019-10-03 17:03:35 UTC (rev 363706)
@@ -2,7 +2,7 @@
 
 pkgname=pkgfile
 pkgver=20
-pkgrel=1
+pkgrel=2
 pkgdesc="a pacman .files metadata explorer"
 arch=('x86_64')
 url="https://github.com/falconindy/pkgfile"

Modified: pkgfile.install
===================================================================
--- pkgfile.install	2019-10-03 16:52:22 UTC (rev 363705)
+++ pkgfile.install	2019-10-03 17:03:35 UTC (rev 363706)
@@ -12,7 +12,7 @@
 }
 
 post_upgrade() {
-  if [ "$(vercmp "$1" 18-1)" -eq 1 ]; then
+  if [ "$(vercmp 19-1 "$2")" -eq 1 ]; then
     printf "==> Changing permissions on /var/cache/pkgfile from 775 to 755\n"
     chmod 755 /var/cache/pkgfile
   fi



More information about the arch-commits mailing list