summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-dev/chk_aur_pkg.py
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 /linhes/linhes-dev/chk_aur_pkg.py
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
Diffstat (limited to 'linhes/linhes-dev/chk_aur_pkg.py')
-rwxr-xr-xlinhes/linhes-dev/chk_aur_pkg.py3
1 files changed, 2 insertions, 1 deletions
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__":