Index: branches/iFabio/Chameleon/package/Icon.icns =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: branches/iFabio/Chameleon/package/buildpkg =================================================================== --- branches/iFabio/Chameleon/package/buildpkg (revision 272) +++ branches/iFabio/Chameleon/package/buildpkg (revision 273) @@ -388,11 +388,15 @@ xar -c -f "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" --compression none . popd >/dev/null -# Here is the place for assign a Icon to the pkg -DeRez -only icns "${pkgroot}/Icon.icns" > tempicns.rsrc +# Here is the place for assign a Icon to the pkg +# command use to generate the file: +# ditto -c -k --sequesterRsrc --keepParent Icon.icns Icon.zip +ditto -xk "${pkgroot}/Icon.zip" "${pkgroot}/" +DeRez -only icns "${pkgroot}/Icon/Icon.icns" > tempicns.rsrc Rez -append tempicns.rsrc -o "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" SetFile -a C "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" rm -f tempicns.rsrc +rm -rf "${pkgroot}/Icon" # End md5=$( md5 "${1%/*}/${packagename// /}-${version}-INSTALLER-r${revision}.pkg" | awk {'print $4'} ) Index: branches/iFabio/Chameleon/package/Icon.zip =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: branches/iFabio/Chameleon/package/Icon.zip ___________________________________________________________________ Added: svn:mime-type + application/octet-stream