mirror of
https://github.com/LizardByte/Sunshine.git
synced 2026-08-07 10:20:46 +00:00
fix(linux/postins): allow running on rpm-ostree environments (#4963)
This commit is contained in:
@@ -4,10 +4,6 @@
|
||||
echo "Loading uhid kernel module for DS5 emulation."
|
||||
modprobe uhid
|
||||
|
||||
# Check if we're in an rpm-ostree environment
|
||||
if [ ! -x "$(command -v rpm-ostree)" ]; then
|
||||
echo "Not in an rpm-ostree environment, proceeding with post install steps."
|
||||
|
||||
# Ensure Sunshine can grab images from KMS
|
||||
path_to_setcap=$(which setcap)
|
||||
path_to_sunshine=$(readlink -f "$(which sunshine)")
|
||||
@@ -31,6 +27,3 @@ if [ ! -x "$(command -v rpm-ostree)" ]; then
|
||||
else
|
||||
echo "error: udevadm not found or not executable."
|
||||
fi
|
||||
else
|
||||
echo "rpm-ostree environment detected, skipping post install steps. Restart to apply the changes."
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user