- DD="$DST2/$f"
- echo "Installing $DD" >&2
- rm -rf "$DD" || error "Unable to delete $DD"
- cp -pr "$f" "$DST2/" || error "Unable to install $f in $DST2/"
- xattr -r -d com.apple.quarantine "$DD"
+ if [ "$f" != "$UPDATER" ]; then
+ DD="$DST2/$f"
+ echo "Installing $DD" >&2
+ rm -rf "$DD" || error "Unable to delete $DD"
+ cp -pR "$f" "$DST2/" || error "Unable to install $f in $DST2/"
+ xattr -r -d com.apple.quarantine "$DD"
+ fi