Commit 02697edc authored by anonym's avatar anonym
Browse files

Don't reference packages that we _never_ install.

That fails when we use tagged snapshots, since such packages doesn't
exist which makes apt-get bail out.

I'd rather remove the affected apt-get call, but I wonder if that
could have consequences, so I'll open a ticket about what to do
instead.
parent 4a41f467
......@@ -2,6 +2,9 @@
set -e
# Import is_package_installed
. /usr/local/lib/tails-shell-library/common.sh
echo "Removing unwanted packages"
### Deinstall dev packages.
......@@ -45,8 +48,9 @@ apt-get --yes purge \
### Remove packages that can get a different priority in the security
### archive (see https://bugs.debian.org/867668):
apt-get --yes purge \
mutt
if package_is_installed mutt; then
apt-get --yes purge mutt
fi
### Deinstall some other unwanted packages.
apt-get --yes purge \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment