summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2024-01-04 05:17:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2024-01-04 05:17:12 (GMT)
commit98de5fb182bca145ee6f3ee04d03b14bb07c3225 (patch)
treedf01d91e281edf35890ce868f41140d6321575f4
parent4c7ccb93e69d0dc44321fe6a4eff71a886a1b768 (diff)
downloadlinhes_pkgbuild-98de5fb182bca145ee6f3ee04d03b14bb07c3225.zip
linhes_pkgbuild-98de5fb182bca145ee6f3ee04d03b14bb07c3225.tar.gz
linhes_pkgbuild-98de5fb182bca145ee6f3ee04d03b14bb07c3225.tar.bz2
linhes-dev: chk_aur_pkg.py: user vercmp to check
-rw-r--r--linhes/linhes-dev/PKGBUILD4
-rwxr-xr-xlinhes/linhes-dev/chk_aur_pkg.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/linhes/linhes-dev/PKGBUILD b/linhes/linhes-dev/PKGBUILD
index 4825a51..3466fdf 100644
--- a/linhes/linhes-dev/PKGBUILD
+++ b/linhes/linhes-dev/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=linhes-dev
pkgver=9.0.0
-pkgrel=15
+pkgrel=16
pkgdesc="Scripts to develop LinHES"
arch=('x86_64')
license=('GPL2')
@@ -9,7 +9,7 @@ depends=('clean-chroot-manager' 'git' 'pacman-contrib' 'package-query' 'pigz'
url="http://linhes.org/"
source=('lh_sync.sh' 'chk_aur_pkg.py' 'mp.py' 'lh_setup_dev.sh' 'lh_update_db_repo.sh')
sha256sums=('3a64b4125b56c6f95cc9dc85ce58ebd1c0612b22fb27c3e76d4d9a5570f2d61e'
- '864192e9fe627c5a85d4c33ba30df7c870783a450f5fea7c550dd9490d48f2ab'
+ 'a097438b19725fb1b02c7b2587e06450ab4c757cf60b25b5f0256ff0c38146ee'
'025776558632dc60da5a97cc66a4fb52b31882eff7aeaf5476a8e40107e39a87'
'0b9d0bb16700a06f201bfc701ba94ec65045bac50c77a389dbbdf7543def5896'
'86c9ebe77228f7e3cc07cb05f480e5584e0e3cad1b889b63a50821f7323bf449')
diff --git a/linhes/linhes-dev/chk_aur_pkg.py b/linhes/linhes-dev/chk_aur_pkg.py
index 6dc7fa5..0594e74 100755
--- a/linhes/linhes-dev/chk_aur_pkg.py
+++ b/linhes/linhes-dev/chk_aur_pkg.py
@@ -70,7 +70,8 @@ def main():
#print("AUR:",archVer)
LHVer = getLHVer()
#print("LH:",LHVer)
- if archVer != LHVer:
+ archNewer = subprocess.run(['/bin/vercmp', archVer , LHVer], capture_output=True, text=True)
+ if archNewer.stdout == "1\n":
print(currDirName,"needs update: [AUR]:",archVer,"[LH]:",LHVer)
if __name__ == "__main__":