aports/main/pinentry/pinentry-curses-ss.post-install
Jakub Jirutka 49318ae379 main/pinentry: move pinentry-curses with libsecret to pinentry-curses-ss
libsecret was enabled in 8a8cf569db for
pinentry-gnome. However, pinentry-gnome was removed in
eac1b684bd in favour of pinentry-ui,
but libsecret was not removed.

> libsecret is a library for storing and retrieving passwords and
> other secrets. It communicates with the "Secret Service" using D-Bus.
> gnome-keyring and ksecretservice are both implementations of a
> Secret Service.

This is clearly intended for the desktop usage where users will
typically use Gtk or Qt based pinentry, not curses-based pinentry.
However, to maintain backward compatibility, I added subpackage
pinentry-curses-ss that provides pinentry-curses variant built
with libsecret.
2021-08-20 02:51:17 +02:00

9 lines
136 B
Bash

#!/bin/sh
for i in gtk-2 gnome qt; do
[ -f /usr/bin/pinentry-$i ] && exit 0
done
ln -sf pinentry-curses-ss /usr/bin/pinentry
exit 0