Rimesso tutto in carreggiata. Build dovrebbero tutte prodursi al prossimo giro.

This commit is contained in:
Emiliano Vavassori 2022-03-20 03:21:22 +01:00
parent 0fcae9c164
commit 1508540847
1 changed files with 5 additions and 5 deletions

View File

@ -77,13 +77,13 @@ class Build(object):
self.__unpackbuild__('standard', False)
# Run to build standard full help
#self.__unpackbuild__('standard', True)
self.__unpackbuild__('standard', True)
# Build full no help
#self.__unpackbuild__('full', False)
self.__unpackbuild__('full', False)
# Full with help
#self.__unpackbuild__('full', True)
self.__unpackbuild__('full', True)
def __unpackbuild__(self, languageset = 'full', offlinehelp = False):
# We start by filtering out tarballs from the list
@ -112,6 +112,7 @@ class Build(object):
os.chdir(self.appnamedir)
# At this point, let's decompress the deb packages
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True, cwd=self.appimagedir)
os.makedirs(self.appimagedir, exist_ok = True)
# Changing desktop file
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True, cwd=self.appimagedir)
appname = 'LibreOffice' if not self.__query__ == 'daily' else 'LibreOfficeDev'
@ -146,7 +147,6 @@ class Build(object):
for deb in glob.glob(self.appnamedir + '/*.deb'):
os.remove(deb)
subprocess.run("find . -type d -maxdepth 1 -exec rm -rf {} \+", shell=True)
os.makedirs(self.appimagedir)
def checksums(self):
"""Create checksums of the built versions."""
@ -164,7 +164,7 @@ class Build(object):
def __del__(self):
"""Destructor"""
#del self.__builddir__
del self.__builddir__
if __name__ == '__main__':