set self.repo to true if not in aur
This commit is contained in:
parent
53ea18f047
commit
11ae26fab9
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ class Package(object):
|
||||||
self.getDeps()
|
self.getDeps()
|
||||||
except BuildError:
|
except BuildError:
|
||||||
print("Aborting build of %s" % self.name)
|
print("Aborting build of %s" % self.name)
|
||||||
|
else:
|
||||||
|
self.repo = True
|
||||||
def inaur(self):
|
def inaur(self):
|
||||||
response = requests.get("https://aur.archlinux.org/packages/%s" % (self.name))
|
response = requests.get("https://aur.archlinux.org/packages/%s" % (self.name))
|
||||||
if response.status_code < 400:
|
if response.status_code < 400:
|
||||||
|
|
Loading…
Add table
Reference in a new issue