1
0

Ancora tentativi di correzione della build.

This commit is contained in:
Emiliano Vavassori 2022-03-20 03:01:32 +01:00
parent aa0d223670
commit 84452b4aba

View File

@ -42,7 +42,7 @@ class Build(object):
for archive in self.__tarballs__:
# If the archive is already there, do not do anything.
if os.path.exists(os.path.join(self.__downloaddir__, archive)):
print("Archive %s is already there! Sweet")
print("Archive %s is already there! Sweet" % archive)
continue
# Download the archive
@ -124,7 +124,7 @@ class Build(object):
bindir=os.path.join(self.appimagedir, 'usr', 'bin')
os.makedirs(bindir, exist_ok = True)
subprocess.run("find ../../opt -iname soffice -path '*programm*' -exec ln -sf {} %s \;" % binaryname, shell=True, cwd=bindir)
subprocess.run("find ../../opt -iname soffice -path '*programm*' -exec ln -sf {} ./%s \;" % binaryname, shell=True, cwd=bindir)
# Download AppRun from github
apprunurl = "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-{arch}".format(arch = self.__arch__)