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
tails
tails
Commits
3e80d570
Commit
3e80d570
authored
Oct 20, 2014
by
Tails developers
Browse files
Use 7z everywhere for consistency.
parent
cfbff197
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
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