Commit 30691c5f authored by Eric Bélanger's avatar Eric Bélanger
Browse files

Fixed gpm.sh such that disable-paste is only run when gpm is running

parent 40438d8a
2009-12-05 Eric Belanger <eric@archlinux.org>
* gpm 1.20.6-5
* Fixed gpm.sh such that disable-paste is only run when gpm is running
2009-12-05 Eric Belanger <eric@archlinux.org>
* gpm 1.20.6-4
......
......@@ -3,7 +3,7 @@
pkgname=gpm
pkgver=1.20.6
pkgrel=4
pkgrel=5
pkgdesc="A mouse server for the console and xterm"
arch=('i686' 'x86_64')
url="http://unix.schottelius.org/gpm/"
......@@ -15,9 +15,9 @@ install=gpm.install
source=(http://unix.schottelius.org/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
gpm gpm.conf.d gpm.sh)
md5sums=('6b534da16dc1b28ba828dea89e520f6f' '945ecde0836687e05c13ea837092ea6c'\
'63e599950946e5f5a649432510aacf4c' 'f711818433d955852de32a9a0560aa74')
'63e599950946e5f5a649432510aacf4c' 'e391fe4599ce102615f9cd449c380d41')
sha1sums=('f3bb9272878b7934968381c8b25edab359114150' '19e1feb1493373512a77801699df012d186336ea'\
'e483f893b4e6b9e1221a208527d728ffefe5438e' '002a8a246f9f37f140d38b8da51b353cf0668f96')
'e483f893b4e6b9e1221a208527d728ffefe5438e' '88fe5ff10916c68a87abc8418a56eb0073f69fa9')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
case $( /usr/bin/tty ) in
/dev/tty[0-9]*) /usr/bin/disable-paste ;;
/dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
esac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment