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

Fix profile script (close FS#46384)

parent 6f49d144
......@@ -2,7 +2,7 @@
pkgname=gpm
pkgver=1.20.7
pkgrel=5
pkgrel=6
pkgdesc="A mouse server for the console and xterm"
arch=('i686' 'x86_64')
url="http://www.nico.schottelius.org/software/gpm/"
......@@ -10,10 +10,10 @@ license=('GPL')
depends=('bash')
options=('!makeflags')
install=gpm.install
source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma \
source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.lzma
gpm.sh gpm.service)
sha1sums=('8d9f3655c80ce7667d31ede2a100b44986480369'
'88fe5ff10916c68a87abc8418a56eb0073f69fa9'
'94447c6f8bfadd062efa1a747a597426f339d13e'
'f9bde96eb9c78da9f225bcf40822647f6592cf23')
build() {
......
case $( /usr/bin/tty ) in
/dev/tty[0-9]*) [ -n "$(pgrep gpm)" ] && /usr/bin/disable-paste ;;
/dev/tty[0-9]*) [ -n "$(pidof -s 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