1
0
Fork 0

Correzioni ai find lanciati da interno python.

This commit is contained in:
Emiliano Vavassori 2022-03-19 23:01:14 +01:00
parent 18f06aedff
commit 29984163c3
1 changed files with 2 additions and 2 deletions

View File

@ -78,9 +78,9 @@ class Build(object):
# At this point, let's decompress the deb packages
os.chdir(os.path.join(self.__builddir__, self.__appname__, self.__appname__ + '.AppImage'))
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \+", shell=True)
subprocess.run("find .. -iname '*.deb' -exec dpkg -x {} . \;", shell=True)
# Changing desktop file
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \+", shell=True)
subprocess.run("find . -iname startcenter.desktop -exec cp {} . \;", shell=True)
subprocess.run("sed -i -e 's|Name=.*|Name=%s|g' startcenter.desktop" % self.__appname__, shell=True)
subprocess.run("find . -name startcenter.png -path '*hicolor*48x48*' -exec cp {} \;", shell=True)