Ancora tentativi di correzione della build.
This commit is contained in:
parent
aa0d223670
commit
84452b4aba
4
build.py
4
build.py
@ -42,7 +42,7 @@ class Build(object):
|
|||||||
for archive in self.__tarballs__:
|
for archive in self.__tarballs__:
|
||||||
# If the archive is already there, do not do anything.
|
# If the archive is already there, do not do anything.
|
||||||
if os.path.exists(os.path.join(self.__downloaddir__, archive)):
|
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
|
continue
|
||||||
|
|
||||||
# Download the archive
|
# Download the archive
|
||||||
@ -124,7 +124,7 @@ class Build(object):
|
|||||||
|
|
||||||
bindir=os.path.join(self.appimagedir, 'usr', 'bin')
|
bindir=os.path.join(self.appimagedir, 'usr', 'bin')
|
||||||
os.makedirs(bindir, exist_ok = True)
|
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
|
# Download AppRun from github
|
||||||
apprunurl = "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-{arch}".format(arch = self.__arch__)
|
apprunurl = "https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-{arch}".format(arch = self.__arch__)
|
||||||
|
Reference in New Issue
Block a user