Commit 975245bb authored by anonym's avatar anonym
Browse files

Merge remote-tracking branch 'origin/bugfix/12733-seahorse-vs-pinentry-gtk2' into stable

Fix-committed: #12733
parents 357f9fbb 3e213417
......@@ -7,3 +7,17 @@ echo "Selecting our preferred pinentry"
for alternative in pinentry pinentry-x11 ; do
update-alternatives --set "$alternative" /usr/bin/pinentry-gtk-2
done
# XXX:Buster remove once Debian bug #869416 is fixed
mkdir -p /usr/lib/pinentry
dpkg-divert --add --rename --divert \
/usr/lib/pinentry/pinentry-gtk-2 \
/usr/bin/pinentry-gtk-2
cat > /usr/bin/pinentry-gtk-2 << 'EOF'
#!/bin/sh
. /usr/local/lib/tails-shell-library/gnome.sh
export_gnome_env
exec /usr/lib/pinentry/pinentry-gtk-2 "$@"
EOF
chmod 755 /usr/bin/pinentry-gtk-2
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