1 2 3 4 5 6 7 8
#!/bin/sh if [ -f /usr/bin/pinentry-curses ]; then ln -sf pinentry-curses /usr/bin/pinentry else rm -f /usr/bin/pinentry fi