diff options
author | Christoph Willing <chris.willing@linux.com> | 2019-07-11 17:57:07 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-07-13 08:30:59 +0700 |
commit | 3dbb15ef7dfbc7146b3ae28cd630dc673433dc6a (patch) | |
tree | 921125729467afb6cd23876c98f25c604ca42eab /games/steam | |
parent | 1495bf1471dabc87c7bb9630c4834fe63652d295 (diff) |
games/steam: Fix udev rule for Valve controllers
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'games/steam')
-rw-r--r-- | games/steam/steam.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/steam/steam.SlackBuild b/games/steam/steam.SlackBuild index 8ffbc9175a7ff..f7a392edf2fc0 100644 --- a/games/steam/steam.SlackBuild +++ b/games/steam/steam.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=steam VERSION=${VERSION:-1.0.0.61} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -84,6 +84,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/lib/udev/rules.d install -p -m 0644 lib/udev/rules.d/*.rules $PKG/lib/udev/rules.d/ +sed -i -e 's/^KERNEL=="uinput".*/& GROUP="plugdev"/' $PKG/lib/udev/rules.d/60-steam-input.rules # alienBOB's trick for unfound system apps sed -i -e '\/usr\/bin\/env\ bash/{N;s#$#\nexport PATH="/usr/lib/steam/local:$PATH"\n#}' $PKG/usr/bin/steam |