aboutsummaryrefslogtreecommitdiffstats
path: root/main/pinentry/pinentry.post-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/pinentry/pinentry.post-install')
-rw-r--r--main/pinentry/pinentry.post-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/pinentry/pinentry.post-install b/main/pinentry/pinentry.post-install
new file mode 100644
index 0000000000..0dfd31e955
--- /dev/null
+++ b/main/pinentry/pinentry.post-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if ! [ -f /usr/bin/pinentry-gtk-2 ]; then
+ ln -sf pinentry-curses /usr/bin/pinentry
+fi
+