Hi all, Is it intended that for 4.1 the applescript installer now scans every file on the whole disk looking for the strings equal to 'LibreOffice*' and not equal to 'LibreOffice Language Pack.app' ?
The applescript in the French 4.1 langpack (and I assume in other languages) contains the lines : set the found_ooos_all to (do shell script "mdfind \"kMDItemContentType == 'com.apple.application-bundle' && kMDItemDisplayName == 'LibreOffice*' && kMDItemDisplayName != 'LibreOffice Language Pack.app'\"") & " " & chooseMyOwn set found_ooos_all_paragraphs to paragraphs in found_ooos_all set found_ooos to {} repeat with currentApp in found_ooos_all_paragraphs if currentApp does not start with "/Volumes" then copy currentApp to the end of found_ooos end if end repeat whereas the 4.0.5 langpack contains : set found_ooos_all to "" -- command might return an error if spotlight is disabled completely try set found_ooos_all to (do shell script "mdfind \"kMDItemContentType == 'com.apple.application-bundle' && kMDItemDisplayName == 'LibreOffice*' && kMDItemDisplayName != 'LibreOffice Language Pack.app'\"") end try set found_ooos_all to found_ooos_all & " " & chooseMyOwn set found_ooos_all_paragraphs to paragraphs in found_ooos_all set found_ooos to {} repeat with currentApp in found_ooos_all_paragraphs if currentApp does not start with "/Volumes" then copy currentApp to the end of found_ooos end if end repeat If a user runs the 4.1 langpack app installer from the publicly available diskimage, it takes so long that it looks like the installation has either failed or hung. If I run, from the terminal : mdfind kMDItemContentType == 'com.apple.application-bundle' && mdfind kMDItemDisplayName == 'LibreOffice*' && mdfind kMDItemDisplayName != 'LibreOffice Language Pack.app' it takes about 30 mins to finish. Alex _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice