1
0
Fork 0

Script per gli update. Aggiunte directory all'ignore. Non creato checksum per .ver.

This commit is contained in:
Emiliano Vavassori 2022-03-30 01:06:38 +02:00
parent f2c64e195f
commit eade74c29a
3 changed files with 35 additions and 0 deletions

View file

@ -199,6 +199,11 @@ class Build(object):
self.__unpackbuild__(arch)
def __unpackbuild__(self, arch, generalize = False):
if generalize and self.portable:
# Doesn't particularly make sense to build a generic portable
# version. Just skipping the specific generic build
return
# We start by filtering out tarballs from the list
buildtarballs = [ self.tarballs[arch][0] ]
@ -305,6 +310,10 @@ class Build(object):
os.chdir(self.appnamedir)
for appimage in glob.glob('*.AppImage*'):
if appimage.endswith('.ver'):
# Skipping checksums for .ver files.
continue
# See if a checksum already exist
if not os.path.exists(appimage + '.md5'):
subprocess.run("md5sum {appimage} > {appimage}.md5".format(appimage = appimage), shell=True)