summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2019-07-11 17:57:07 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-13 08:30:59 +0700
commit3dbb15ef7dfbc7146b3ae28cd630dc673433dc6a (patch)
tree921125729467afb6cd23876c98f25c604ca42eab
parent1495bf1471dabc87c7bb9630c4834fe63652d295 (diff)
downloadslackbuilds-3dbb15ef7dfbc7146b3ae28cd630dc673433dc6a.tar.gz
games/steam: Fix udev rule for Valve controllers
Signed-off-by: Christoph Willing <chris.willing@linux.com>
-rw-r--r--games/steam/steam.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/games/steam/steam.SlackBuild b/games/steam/steam.SlackBuild
index 8ffbc9175a..f7a392edf2 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