mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-14 15:40:37 +00:00
fix(hhd): use absolute path to find update executable (#1970)
This commit is contained in:
parent
46124f49f9
commit
c9eb6f561a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user