From c379ba47a786a6a7422c8fcdbfec32ddbcf88b90 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 25 Apr 2019 14:22:21 +0200 Subject: No need to explicitly create Conents/Resources/*.lproj/ directories At least since 7a08bfeabe21193e04b9747a831653efcfc63190 "tdf#122244 Put InfoPlist.strings files at correct places on macOS" those directories that have actual content are created on demand. (That is, empty such directories are no longer created, but I assume that's a feature rather than a bug.) Change-Id: If753483c78fbf39e76c9565a407e7ff27ca32efb Reviewed-on: https://gerrit.libreoffice.org/71300 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- solenv/bin/modules/installer/simplepackage.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'solenv/bin') diff --git a/solenv/bin/modules/installer/simplepackage.pm b/solenv/bin/modules/installer/simplepackage.pm index 46f9f477d1b1..489f2127688e 100644 --- a/solenv/bin/modules/installer/simplepackage.pm +++ b/solenv/bin/modules/installer/simplepackage.pm @@ -405,11 +405,6 @@ sub create_package { my $subdir = "$tempdir/$packagename/$volume_name_classic_app.app/Contents/Resources"; if ( ! -d $subdir ) { installer::systemactions::create_directory($subdir); } - # iterate over macOS localizations - foreach $lang ("ca", "cs", "da", "de", "el", "en", "es", "fi", "fr", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl", "no", "pl", "pt", "pt_PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh_CN", "zh_TW") - { - installer::systemactions::create_directory($subdir . "/" . $lang . ".lproj"); - } if ( defined($ENV{'MACOSX_CODESIGNING_IDENTITY'}) && $ENV{'MACOSX_CODESIGNING_IDENTITY'} ne "" ) { $systemcall = "$ENV{'SRCDIR'}/solenv/bin/macosx-codesign-app-bundle $localtempdir/$folder/$volume_name_classic_app.app"; -- cgit v1.2.3