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
dde2c349
Commit
dde2c349
authored
Oct 14, 2014
by
Tails developers
Browse files
Improve variable names.
parent
1ba27974
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-hooks/10-tbb
View file @
dde2c349
...
...
@@ -168,24 +168,24 @@ create_default_profile() {
}
TBB_SHA256SUMS_FILE
=
/usr/share/tails/tbb-sha256sums.txt
TBB_
BUNDLE
S
=
"
$(
grep
"
\<
tor-browser-linux32-.*
\.
tar.xz$"
"
${
TBB_SHA256SUMS_FILE
}
"
)
"
TBB_
TARBALL
S
=
"
$(
grep
"
\<
tor-browser-linux32-.*
\.
tar.xz$"
"
${
TBB_SHA256SUMS_FILE
}
"
)
"
# We'll use the en-US bundle as our basis; only langpacks will be
# installed from the other bundles.
MAIN_
BUNDLE
=
"
$(
echo
"
${
TBB_
BUNDLE
S
}
"
|
grep
-o
"tor-browser-linux32-.*_en-US.tar.xz"
)
"
#VERSION="$(echo "${MAIN_
BUNDLE
}" | sed 's/tor-browser-linux32-\(.*\)_en-US.tar.xz/\1/')"
MAIN_
TARBALL
=
"
$(
echo
"
${
TBB_
TARBALL
S
}
"
|
grep
-o
"tor-browser-linux32-.*_en-US.tar.xz"
)
"
#VERSION="$(echo "${MAIN_
TARBALL
}" | sed 's/tor-browser-linux32-\(.*\)_en-US.tar.xz/\1/')"
VERSION
=
tbb-nightly-2014-10-07
TBB_DIST_URL_FILE
=
/usr/share/tails/tbb-dist-url.txt
TBB_
BUNDLE
S_BASE_URL
=
"
$(
cat
"
${
TBB_DIST_URL_FILE
}
"
)
/
${
VERSION
}
"
TBB_
TARBALL
S_BASE_URL
=
"
$(
cat
"
${
TBB_DIST_URL_FILE
}
"
)
/
${
VERSION
}
"
# The Debian Iceweasel extensions we want to install and make
# available in the Tor Browser.
DEBIAN_EXT_PKGS
=
"xul-ext-adblock-plus xul-ext-torbutton"
TMP
=
"
$(
mktemp
-d
)
"
download_and_verify_files
"
${
TBB_
BUNDLE
S_BASE_URL
}
"
"
${
TBB_
BUNDLE
S
}
"
"
${
TMP
}
"
download_and_verify_files
"
${
TBB_
TARBALL
S_BASE_URL
}
"
"
${
TBB_
TARBALL
S
}
"
"
${
TMP
}
"
install_tor_browser
"
${
TMP
}
/
${
MAIN_
BUNDLE
}
"
"
${
TBB_INSTALL
}
"
install_tor_browser
"
${
TMP
}
/
${
MAIN_
TARBALL
}
"
"
${
TBB_INSTALL
}
"
mkdir
-p
"
${
TBB_EXT
}
"
install_langpacks_from_bundles
"
${
TMP
}
"
"
${
TBB_EXT
}
"
...
...
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