diff --git a/package/Package.py b/package/Package.py index 9a5c203..61c9c89 100644 --- a/package/Package.py +++ b/package/Package.py @@ -26,9 +26,7 @@ class Package(object): self.upToDate = False self.aurdeps = [] self.pkgs = "" - self.inrepo() - if not self.repo: - self.inaur() + self.inaur() if self.aur: self.isgroup() if not os.path.exists(self.path): @@ -42,15 +40,6 @@ class Package(object): except BuildError: print("Aborting build of %s" % self.name) - def inrepo(self): - try: - results = pacman("-Ssq", self.name) - except sh.ErrorReturnCode_1: - return - for result in results.split("\n"): - if self.name == result: - self.repo = True - def inaur(self): response = requests.get("https://aur.archlinux.org/packages/%s" % (self.name)) if response.status_code < 400: