From 428d23b383635c4fc6ac665640a26adfc799aa71 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 15 Jul 2015 15:23:03 -0400 Subject: chk_arch_pkg.py: update for aur4 --- build_tools/bin/chk_arch_pkg.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build_tools/bin/chk_arch_pkg.py b/build_tools/bin/chk_arch_pkg.py index b939f4f..80ff599 100755 --- a/build_tools/bin/chk_arch_pkg.py +++ b/build_tools/bin/chk_arch_pkg.py @@ -22,7 +22,7 @@ def getArchVer(): for repo in repos: try: if repo == "aur": - url='https://aur.archlinux.org/packages/%s/' %currDirName + url='https://aur4.archlinux.org/packages/%s/' %currDirName else: url='https://www.archlinux.org/packages/%s/x86_64/%s/' %(repo, currDirName) website = urllib2.urlopen(url) @@ -57,8 +57,8 @@ def getArchVer(): try: if repo == "aur": - source = re.findall('
  • Download tarball
  • ', website_text) - sourceURL = "https://aur.archlinux.org" + source[0] + source = re.findall('
  • Download snapshot', website_text) + sourceURL = "https://aur4.archlinux.org" + source[0] else: if "- Split Package Details" in website_text: #print "Split Pkg" @@ -148,7 +148,7 @@ def getSource(): subprocess.call("rm __arch_LH.diff", shell=True) else: sys.exit(0) - + if yes_all: str3 = "Y" else: @@ -156,9 +156,9 @@ def getSource(): if str3 != 'N' and str3 != 'n': subprocess.call(["rm", filename]) if repo == "aur": - subprocess.call(["rm", "-r", currDirName]) + subprocess.call(["rm", "-r", currDirName]) else: - subprocess.call(["rm", "-r", repoTag + "-packages"]) + subprocess.call(["rm", "-r", repoTag + "-packages"]) else: sys.exit(0) -- cgit v0.12