summaryrefslogtreecommitdiffstats
path: root/main/pinentry/pinentry-gtk.post-deinstall
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-06 09:56:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-06 11:01:42 +0000
commit04c6a8fb845a7b0086921e6e90323b011be35628 (patch)
tree265a0e8548c3dca0090e8af49d54a316aa212b2a /main/pinentry/pinentry-gtk.post-deinstall
parentc2561cc27d2fb38ca2d5e52221ca7b613b99e0cd (diff)
downloadaports-04c6a8fb845a7b0086921e6e90323b011be35628.tar.bz2
aports-04c6a8fb845a7b0086921e6e90323b011be35628.tar.xz
main/pinentry: upgrade to 0.8.0
and build pinentry-gtk
Diffstat (limited to 'main/pinentry/pinentry-gtk.post-deinstall')
-rw-r--r--main/pinentry/pinentry-gtk.post-deinstall8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/pinentry/pinentry-gtk.post-deinstall b/main/pinentry/pinentry-gtk.post-deinstall
new file mode 100644
index 000000000..887ef798a
--- /dev/null
+++ b/main/pinentry/pinentry-gtk.post-deinstall
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ -f /usr/bin/pinentry-curses ]; then
+ ln -sf pinentry-curses /usr/bin/pinentry
+else
+ rm -f /usr/bin/pinentry
+fi
+