Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sosthène Sosth
tails
Commits
19fd526c
Unverified
Commit
19fd526c
authored
Nov 22, 2020
by
intrigeri
Browse files
Lint
parent
ccf2358b
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/share/tails/build/patch-thunderbird
View file @
19fd526c
...
...
@@ -16,7 +16,8 @@ tmpdir="$(mktemp -d)"
# due to the weird omni.ja format, 7z will exit with non-zero code,
# that we need to override
7z x
-tzip
"
$OMNI_JA
"
||
true
for
patch
in
$(
cat
"
$PATCHES_DIRECTORY
"
/series
)
;
do
while
read
-r
patch
;
do
# < "$PATCHES_DIRECTORY"/series
# shellcheck disable=SC2002
cat
"
$PATCHES_DIRECTORY
/
$patch
"
\
| perl
-p
-E
's{^(--- [ab])/comm/mail/components/accountcreation/content/}{$1/chrome/messenger/content/messenger/accountcreation/}'
\
| perl
-p
-E
's{^(--- [ab])/comm/mail/components/compose/content/}{$1/chrome/messenger/content/messenger/messengercompose/}'
\
...
...
@@ -25,10 +26,10 @@ tmpdir="$(mktemp -d)"
| perl
-p
-E
's{^(--- [ab])/comm/mailnews/mime/}{$1/modules/}'
\
| perl
-p
-E
's{^(--- [ab])/comm/mailnews/}{$1/defaults/pref/}'
\
| patch
-p1
done
find
.
-name
*
.js
-exec
touch
--date
=
"@
$SOURCE_DATE_EPOCH
"
'{}'
\;
done
<
"
$PATCHES_DIRECTORY
"
/series
find
.
-name
'
*.js
'
-exec
touch
--date
=
"@
$SOURCE_DATE_EPOCH
"
'{}'
\;
rm
"
$OMNI_JA
"
7z a
-mtc
=
off
-tzip
"
$OMNI_JA
"
*
7z a
-mtc
=
off
-tzip
"
$OMNI_JA
"
./
*
)
rm
-r
"
${
tmpdir
}
"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment