diff --git a/loaih/__init__.py b/loaih/__init__.py index 2662ec3..553816f 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -83,7 +83,7 @@ class Build(object): continue contents = etree.HTML(urllib.request.urlopen(self.url[arch]).read()).xpath("//td/a") - self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz') ] + self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz' and 'deb' in x.text) ] tarballs = self.tarballs[arch] maintarball = tarballs[0] @@ -201,8 +201,6 @@ class Build(object): if self.updatable: # for the daily build, updatable builds work if the latest one # provide updates. - if self.query == 'daily': - appversion = 'daily' zsync = self.appimagefilename[arch] + '.zsync' subprocess.run("VERSION={version} ./appimagetool -u 'zsync|{zsync}' -v ./{appname}.AppDir/".format(version = appversion, zsync = zsync, appname = self.appname), shell=True)