diff options
author | fanquake <fanquake@gmail.com> | 2021-06-09 12:16:39 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-06-09 12:33:39 +0800 |
commit | 0a5723beea9c909b437e8c3fa434506019c1198c (patch) | |
tree | 4b6a88ca4396aa9e0e9c710caabf1894a15bbda1 /contrib | |
parent | ecffe8689dfbdc33deba8119376dcc8f208f0f72 (diff) |
macdeploy: cleanup .temp.dmg if present
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/macdeploy/macdeployqtplus | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/macdeploy/macdeployqtplus b/contrib/macdeploy/macdeployqtplus index 5377a4ce1d..055a932eee 100755 --- a/contrib/macdeploy/macdeployqtplus +++ b/contrib/macdeploy/macdeployqtplus @@ -423,6 +423,9 @@ if os.path.exists(appname + ".dmg"): print("+ Removing existing DMG +") os.unlink(appname + ".dmg") +if os.path.exists(appname + ".temp.dmg"): + os.unlink(appname + ".temp.dmg") + # ------------------------------------------------ target = os.path.join("dist", "Bitcoin-Qt.app") |