esac
}
-_cpr () {
+_cp () {
case "${system_name}" in
'macos')
- cp -R ${@}
+ gcp -R --preserve=timestamps -H -L "${@}"
;;
*)
- cp -R --preserve=timestamps ${@}
+ cp -R --preserve=timestamps -H -L "${@}"
;;
esac
}
echo 'MS-Windows'
;;
*)
- echo 'Default'
+ echo 'Raleigh'
;;
esac
}
;;
'macos')
cat <<-EOF
+ etc/fonts
+ share/themes/${gtk_theme_name}/gtk-2.0
+ share/fontconfig
share/icons/hicolor
share/locale
${lib_prefix}/gdk-pixbuf-2.0
mkdir -p "${bundle_dir}/$(dirname "${bundle_component_dir}")"
- _cpr -H -L \
+ _cp \
"${real_component_dir}" \
"${bundle_dir}/${bundle_component_dir}"
- touch -r \
- "/${real_component_dir}" \
- "${bundle_dir}/${bundle_component_dir}"
-
Multi::rewriteLoadersCache "${bundle_dir}/${bundle_component_dir}"
fi
done
continue
fi
- cp -H \
- "${lib_file}" \
- "${lib_dir}/${lib_basename}"
-
- touch -r \
+ _cp \
"${lib_file}" \
"${lib_dir}/${lib_basename}"