fix(hhd): use absolute path to find update executable (#1970)

This commit is contained in:
Antheas Kapenekakis 2024-12-10 17:52:43 +01:00 committed by GitHub
parent 46124f49f9
commit c9eb6f561a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@
# steamos-update --enable-duplicate-detection -- should perform an update
# steamos-update -- should perform an update
if [ -x hhd.steamos ]; then
hhd.steamos steamos-update --fallback $@
if [ -x /usr/bin/hhd.steamos ]; then
/usr/bin/hhd.steamos steamos-update --fallback $@
ret=$?
# If ret is not 20, exit with the return code, otherwise continue
if [ $ret -ne 20 ]; then

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
if [ -x hhd.steamos ]; then
hhd.steamos steamos-select-branch --fallback $@
if [ -x /usr/bin/hhd.steamos ]; then
/usr/bin/hhd.steamos steamos-select-branch --fallback $@
ret=$?
# If ret is not 20, exit with the return code, otherwise continue
if [ $ret -ne 20 ]; then