Skip to content

Commit 3338747

Browse files
committed
fixed a problem where quickpkg would fail if an dmg was mounted with odd privileges (Time Machine)
1 parent 400bf78 commit 3338747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickpkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def attachdmg(dmgpath):
233233
if "images" in info_dict.keys():
234234
for y in info_dict["images"]:
235235
if "image-path" in y.keys():
236-
if os.path.samefile(y["image-path"], dmgpath):
236+
if y["image-path"] == dmgpath and os.path.samefile(y["image-path"], dmgpath):
237237
for x in y.get("system-entities"):
238238
if "mount-point" in x.keys():
239239
volpaths.append(x["mount-point"])

0 commit comments

Comments
 (0)