1
0

Piccolo errore di ordine di comandi.

This commit is contained in:
Emiliano Vavassori 2022-03-20 03:49:31 +01:00
parent 1508540847
commit 27e004a84b

View File

@ -110,9 +110,9 @@ class Build(object):
subprocess.run("tar xzf {folder}/{archive}".format(folder = self.__downloaddir__, archive = archive), shell=True) subprocess.run("tar xzf {folder}/{archive}".format(folder = self.__downloaddir__, archive = archive), shell=True)
os.chdir(self.appnamedir) os.chdir(self.appnamedir)
os.makedirs(self.appimagedir, exist_ok = True)
# At this point, let's decompress the deb packages # At this point, let's decompress the deb packages
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True, cwd=self.appimagedir) subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True, cwd=self.appimagedir)
os.makedirs(self.appimagedir, exist_ok = True)
# Changing desktop file # Changing desktop file
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True, cwd=self.appimagedir) subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True, cwd=self.appimagedir)
appname = 'LibreOffice' if not self.__query__ == 'daily' else 'LibreOfficeDev' appname = 'LibreOffice' if not self.__query__ == 'daily' else 'LibreOfficeDev'