The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 1197cf062b335f91b55eb7eabcb0924d38fa03fa Author: Stephan Witt <sw...@lyx.org> Date: Sat May 25 20:16:10 2013 +0200 make Documents folder of disk image optional diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 32e4b7c..75cd83e 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -792,6 +792,7 @@ set_bundle_display_options() { LYX_Y_POSITION=$Y_POSITION APP_X_POSITION=$((3 * X_BOUNDS / 4)) APP_Y_POSITION=$Y_POSITION + WITH_DOCUMENTS=$(test -d "${1}/Documents" && echo true || echo false) osascript <<-EOF tell application "Finder" set f to POSIX file ("${1}" as string) as alias @@ -807,11 +808,13 @@ set_bundle_display_options() { delay 1 -- sync set icon size of the icon view options of container window to 64 set arrangement of the icon view options of container window to not arranged - set position of item "Documents" to {$LYX_X_POSITION,0} + if ${WITH_DOCUMENTS} then + set position of item "Documents" to {$LYX_X_POSITION,0} + end if set position of item "${LyxName}.app" to {$LYX_X_POSITION,$LYX_Y_POSITION} set position of item "Applications" to {$APP_X_POSITION,$APP_Y_POSITION} set background picture of the icon view options\ - of container window to file "background.png" of folder "Pictures" + of container window to file "background.png" of folder "Pictures" set the bounds of the container window to {0, 0, $X_BOUNDS, $Y_BOUNDS} update without registering applications delay 5 -- sync ----------------------------------------------------------------------- Summary of changes: development/LyX-Mac-binary-release.sh | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) hooks/post-receive -- The LyX Source Repository