Correzioni ai find lanciati da interno python.
This commit is contained in:
parent
18f06aedff
commit
29984163c3
4
build.py
4
build.py
@ -78,9 +78,9 @@ class Build(object):
|
|||||||
|
|
||||||
# At this point, let's decompress the deb packages
|
# At this point, let's decompress the deb packages
|
||||||
os.chdir(os.path.join(self.__builddir__, self.__appname__, self.__appname__ + '.AppImage'))
|
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
|
# 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("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)
|
subprocess.run("find . -name startcenter.png -path '*hicolor*48x48*' -exec cp {} \;", shell=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user