1
0
Fork 0

Trovato forse problema: passaggio di arch.

This commit is contained in:
Emiliano Vavassori 2022-03-21 00:54:44 +01:00
parent daff0535d3
commit 0df231e450
2 changed files with 16 additions and 20 deletions

View file

@ -49,10 +49,7 @@ class Build(object):
for arch in self.arch:
print("DEBUG: {appimage}".format(appimage = self.appimagefilename[arch]))
res = subprocess.check_output("find {path} -name '{appimage}'".format(
path = self.storage_path,
appimage = self.appimagefilename[arch] + ('.zsync' if self.updatable else '')
), shell=True).decode('utf-8').strip('\n')
res = subprocess.check_output("find {path} -name '{appimage}'".format(path = self.storage_path, appimage = self.appimagefilename[arch] + ('.zsync' if self.updatable else '')), shell=True).decode('utf-8').strip('\n')
if len(res) > 1:
self.built = True