Skip to content
GitLab
Menu
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
1db7d445
Commit
1db7d445
authored
Dec 23, 2013
by
Tails developers
Browse files
Don't try to use APT to remove packages in the Unsafe Browser script (Closes:
#6531
).
parent
255c0762
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/chroot_local-includes/usr/local/sbin/unsafe-browser
View file @
1db7d445
...
...
@@ -156,8 +156,10 @@ configure_chroot () {
# Remove all Iceweasel addons: some adds proxying, which we don't
# want; some may change the fingerprint compared to a standard
# Iceweasel install.
chroot
${
CHROOT
}
apt-get remove
--yes
xul-ext-
*
# Iceweasel install. Note: We cannot use apt-get since we don't ship its
# lists (#6531). Too bad, APT supports globbing, while dkpg does not.
dpkg
-l
'xul-ext-*'
| /bin/grep
'^ii'
|
awk
'{print $2}'
|
\
xargs
chroot
${
CHROOT
}
dpkg
--remove
# Disable proxying in the chroot
sed
-r
-i
'/^(user_|)pref\("network\.proxy\..*",/d'
\
...
...
Write
Preview
Supports
Markdown
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