summaryrefslogtreecommitdiffstats
path: root/build_tools/bin
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/bin')
-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)