Bug 1568654 - Remove erroneous signature files on update on Mac. r=darktrojan a=jorgk
authorRob Lemley <rob@thunderbird.net>
Fri, 26 Jul 2019 13:48:00 -0400
changeset 35294 436d8b620b6a649522a44293bd1023fd20014508
parent 35293 6e72d79d8bcc64e9db8a6e97286370c0b6614d81
child 35295 115a0f365f77a13c20c060b7976d78689842c188
push id2477
push usermozilla@jorgk.com
push dateTue, 13 Aug 2019 21:14:23 +0000
treeherdercomm-beta@436d8b620b6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan, jorgk
bugs1568654, 1471004
Bug 1568654 - Remove erroneous signature files on update on Mac. r=darktrojan a=jorgk These ._* files come from an error in the macOS signing process on the old (pre autograph bug 1471004) servers. It only affected files that were part of thunderbird.mdimporter. These files never were accounted for in the installation process, and do not get removed unless we explicitly say to remove them.
mail/installer/removed-files.in
--- a/mail/installer/removed-files.in
+++ b/mail/installer/removed-files.in
@@ -74,8 +74,17 @@
 #ifdef NIGHTLY_BUILD
 @DIR_RESOURCES@extensions/
 @DIR_RESOURCES@extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/*
 #else
 @DIR_RESOURCES@distribution/
 @DIR_RESOURCES@distribution/extensions/
 @DIR_RESOURCES@distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/*
 #endif
+
+# Remove erroneous files left over from broken Mac signing process
+#ifdef XP_MACOSX
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/_CodeSignature/._CodeResources
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/._Info.plist
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/._schema.xml
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/._InfoPlist.strings
+@APPNAME@/Contents/Library/Spotlight/thunderbird.mdimporter/Contents/Resources/English.lproj/._schema.strings
+#endif