diff options
| author | Britney Fransen <brfransen@gmail.com> | 2015-07-15 19:23:03 (GMT) | 
|---|---|---|
| committer | Britney Fransen <brfransen@gmail.com> | 2015-07-15 19:23:03 (GMT) | 
| commit | 428d23b383635c4fc6ac665640a26adfc799aa71 (patch) | |
| tree | 0d41a735ef73f83f1eb0f46daa847ec4b60052b6 | |
| parent | 68de16278e029a45fbf449d09caf1a7eb618ffda (diff) | |
| download | linhes_dev-428d23b383635c4fc6ac665640a26adfc799aa71.zip | |
chk_arch_pkg.py: update for aur4
| -rwxr-xr-x | build_tools/bin/chk_arch_pkg.py | 12 | 
1 files 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('<li><a href="(.*?)">Download tarball</a></li>', website_text) -                sourceURL = "https://aur.archlinux.org" + source[0] +                source = re.findall('<li><a href="(.*?)">Download snapshot</a>', website_text) +                sourceURL = "https://aur4.archlinux.org" + source[0]              else:                  if "- Split Package Details</title>" 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)  | 
