Skip to content

Commit

Permalink
Add guards to steamfork-boot-quirks to fix up service start failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
fewtarius committed Sep 6, 2024
1 parent b36670c commit 69b9194
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PKGBUILD/steamfork-device-support/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Fewtarius

pkgname=steamfork-device-support
pkgver=2024.09.05
pkgver=2024.09.06
pkgrel=1
pkgdesc='Hardware support provider for PC handhelds.'
arch=('any')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ if [ -d "/etc/lib/steamfork_hwsupport/devicequirks/DEFAULT/boot.d" ]
then
for SCRIPT in "/etc/lib/steamfork_hwsupport/devicequirks/DEFAULT/boot.d"/*
do
"${SCRIPT}"
if [ -f "${SCRIPT}" ]
then
"${SCRIPT}"
fi
done
fi

Expand All @@ -15,7 +18,10 @@ do
then
for SCRIPT in "${QUIRKPATH}/${DEVICE_NAME}/boot.d"/*
do
"${SCRIPT}"
if [ -f "${SCRIPT}" ]
then
"${SCRIPT}"
fi
done
fi
done
Expand Down

0 comments on commit 69b9194

Please sign in to comment.