From 1508540847e8b5dfecc931a4ad08bedca9c2e438 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 20 Mar 2022 03:21:22 +0100 Subject: [PATCH] Rimesso tutto in carreggiata. Build dovrebbero tutte prodursi al prossimo giro. --- build.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.py b/build.py index 9e2bf2a..b0b836f 100644 --- a/build.py +++ b/build.py @@ -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__':