summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-07-15 19:23:03 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-07-15 19:23:03 (GMT)
commit428d23b383635c4fc6ac665640a26adfc799aa71 (patch)
tree0d41a735ef73f83f1eb0f46daa847ec4b60052b6
parent68de16278e029a45fbf449d09caf1a7eb618ffda (diff)
downloadlinhes_dev-428d23b383635c4fc6ac665640a26adfc799aa71.zip
chk_arch_pkg.py: update for aur4
-rwxr-xr-xbuild_tools/bin/chk_arch_pkg.py12
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)