#!/bin/sh if [ "$(readlink /usr/bin/pinentry)" = "pinentry-curses-ss" ]; then rm /usr/bin/pinentry # restore symlink to pinentry-curses, if exists if [ -x "/usr/bin/pinentry-curses" ]; then ln -sfv pinentry-curses /usr/bin/pinentry fi fi exit 0