void-packages/srcpkgs/gpm/files/gpm.sh

4 lines
102 B
Bash

case $( /usr/bin/tty ) in
/dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
esac