Correcting the removal error before finalizing appimage.
This commit is contained in:
parent
6ba99db56c
commit
ba6572c3cf
|
@ -624,7 +624,7 @@ class Build():
|
|||
# Cleaning up AppDir
|
||||
cleanup_dirs = [ 'etc', 'lib', 'lib64', 'usr/lib', 'usr/local' ]
|
||||
for local in cleanup_dirs:
|
||||
shutil.rmtree(os.path.abspath(os.path.join(self.appimagedir, local)))
|
||||
shutil.rmtree(os.path.abspath(os.path.join(self.appimagedir, local)), ignore_errors=True)
|
||||
|
||||
# Download AppRun from github
|
||||
apprunurl = r"https://github.com/AppImage/AppImageKit/releases/"
|
||||
|
|
Loading…
Reference in New Issue