fix permissions please

This commit is contained in:
Max 2026-07-08 16:34:11 -05:00
parent a36268ced6
commit c97d59b884
2 changed files with 2 additions and 12 deletions

View file

@ -165,12 +165,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do
dst="/${src#"$DMG_FOLDER"/}"
dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst"
if [[ -x "$f" ]]; then
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755
else
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644
fi
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755
done
# Copy the symlink into a folder, then copy the folder over with symlink permissions.

View file

@ -161,12 +161,7 @@ find "$DMG_FOLDER" -mindepth 1 -type f | while IFS= read -r src; do
dst="/${src#"$DMG_FOLDER"/}"
dmg-hfsplus "$UNCOMPRESSED_DMG" add "$src" "$dst"
if [[ -x "$f" ]]; then
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755
else
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0644
fi
dmg-hfsplus "$UNCOMPRESSED_DMG" chmod "$dst" 0755
done
# Copy the symlink into a folder, then copy the folder over with symlink permissions.