Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
3e80d570
Commit
3e80d570
authored
Oct 20, 2014
by
Tails developers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use 7z everywhere for consistency.
parent
cfbff197
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
config/chroot_local-includes/usr/local/sbin/i2p-browser
config/chroot_local-includes/usr/local/sbin/i2p-browser
+1
-1
config/chroot_local-includes/usr/local/sbin/unsafe-browser
config/chroot_local-includes/usr/local/sbin/unsafe-browser
+1
-1
No files found.
config/chroot_local-includes/usr/local/sbin/i2p-browser
View file @
3e80d570
...
...
@@ -126,7 +126,7 @@ set_chroot_browser_name () {
TMP
=
$(
mktemp
-d
)
# Non-zero exit code due to non-standard ZIP archive.
# The following steps will fail soon if the extraction failed anyway.
unzip
-d
"
${
TMP
}
"
"
${
PACK
}
"
||
true
7z x
-o
"
${
TMP
}
"
"
${
PACK
}
"
||
true
sed
-i
"s/<"
'!'
"ENTITY
\s\+
brand
\(
Full
\|
Short
\)
Name.*
$/
<"
'!'
"ENTITY brand
\1
Name
\"
${
NAME
}
\"
>/"
"
${
TMP
}
/
${
TOP
}
/
${
REST
}
/
${
BRANDING
}
"
rm
"
${
PACK
}
"
(
cd
$TMP
;
7z a
-tzip
"
${
PACK
}
"
.
)
...
...
config/chroot_local-includes/usr/local/sbin/unsafe-browser
View file @
3e80d570
...
...
@@ -126,7 +126,7 @@ set_chroot_browser_name () {
TMP
=
$(
mktemp
-d
)
# Non-zero exit code due to non-standard ZIP archive.
# The following steps will fail soon if the extraction failed anyway.
unzip
-d
"
${
TMP
}
"
"
${
PACK
}
"
||
true
7z x
-o
"
${
TMP
}
"
"
${
PACK
}
"
||
true
sed
-i
"s/<"
'!'
"ENTITY
\s\+
brand
\(
Full
\|
Short
\)
Name.*
$/
<"
'!'
"ENTITY brand
\1
Name
\"
${
NAME
}
\"
>/"
"
${
TMP
}
/
${
TOP
}
/
${
REST
}
/
${
BRANDING
}
"
rm
"
${
PACK
}
"
(
cd
$TMP
;
7z a
-tzip
"
${
PACK
}
"
.
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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