summaryrefslogtreecommitdiff
path: root/repo/pinentry/pinentry-curses-ss.post-install
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:09:32 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:09:32 +0100
commitdd57027830c597590a3b5fd90b1084a8f3616c18 (patch)
tree418b3229a9a3fb93ff43ac11de7a899f42109934 /repo/pinentry/pinentry-curses-ss.post-install
parent873665024ebfaa761ee49b508a79db7178aeb778 (diff)
added pinentry
Diffstat (limited to 'repo/pinentry/pinentry-curses-ss.post-install')
-rw-r--r--repo/pinentry/pinentry-curses-ss.post-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/repo/pinentry/pinentry-curses-ss.post-install b/repo/pinentry/pinentry-curses-ss.post-install
new file mode 100644
index 0000000..4035469
--- /dev/null
+++ b/repo/pinentry/pinentry-curses-ss.post-install
@@ -0,0 +1,9 @@
+#!/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