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
46730bc8
Commit
46730bc8
authored
Oct 14, 2014
by
Tails developers
Browse files
Use saner convention for passing the package list.
parent
dde2c349
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-hooks/10-tbb
View file @
46730bc8
...
...
@@ -139,10 +139,9 @@ EOF
}
install_debian_extensions
()
{
local
packages destination
packages
=
"
${
1
}
"
destination
=
"
${
2
}
"
apt-get
install
--yes
${
packages
}
local
destination
destination
=
"
${
1
}
"
apt-get
install
--yes
"
${
@
}
"
ln
-s
/usr/share/xul-ext/adblock-plus/
\
"
${
destination
}
"
/
'{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}'
ln
-s
/usr/share/xul-ext/torbutton/
\
...
...
@@ -202,7 +201,7 @@ rmdir "${TBB_INSTALL}"/TorBrowser/Data/Browser/profile.default/extensions
FIREFOX_VERSION
=
$(
get_firefox_version
"
${
TBB_INSTALL
}
"
/application.ini
)
FAKE_ICEWEASEL_VERSION
=
${
FIREFOX_VERSION
}
+fake1
install_fake_iceweasel_pkg
"
${
FAKE_ICEWEASEL_VERSION
}
"
install_debian_extensions
"
${
DEBIAN_EXT_PKGS
}
"
"
${
TBB_EXT
}
"
install_debian_extensions
"
${
TBB_EXT
}
"
${
DEBIAN_EXT_PKGS
}
mkdir
-p
"
${
TBB_PROFILE
}
"
create_default_profile
"
${
TBB_INSTALL
}
"
/TorBrowser/Data/Browser/profile.default
"
${
TBB_EXT
}
"
"
${
TBB_PROFILE
}
"
...
...
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