summaryrefslogtreecommitdiff
path: root/repo/pinentry/pinentry-curses-ss.post-install
diff options
context:
space:
mode:
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