From dd333d106b1622716f7e2f28e53feddf79a76f61 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 22 Jun 2026 20:58:04 +0200 Subject: [PATCH] Improve read-only status check and disable logic for SteamOS --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index b2507a4..ea8f9b6 100755 --- a/run.sh +++ b/run.sh @@ -66,8 +66,8 @@ prepare_steamos_package_install() { return fi - readonly_status="$(steamos-readonly status 2>/dev/null || true)" - if printf '%s\n' "$readonly_status" | grep -qi enabled; then + readonly_status="$(as_root steamos-readonly status 2>/dev/null || true)" + if printf '%s\n' "$readonly_status" | grep -Eqi '(^|[[:space:]])enable(d)?($|[[:space:]])'; then echo "Temporarily disabling the SteamOS read-only filesystem" as_root steamos-readonly disable STEAMOS_RESTORE_READONLY=1