summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-dev/chk_aur_pkg.py
diff options
context:
space:
mode:
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__":