mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 06:06:58 +02:00
libsecret was enabled in8a8cf569db
for pinentry-gnome. However, pinentry-gnome was removed ineac1b684bd
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.
9 lines
136 B
Bash
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
|