From 0a5723beea9c909b437e8c3fa434506019c1198c Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 9 Jun 2021 12:16:39 +0800 Subject: macdeploy: cleanup .temp.dmg if present --- contrib/macdeploy/macdeployqtplus | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/macdeploy') 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") -- cgit v1.2.3