From ee404f85e826f8fa64a5a6c4364e82aaf5ab59a2 Mon Sep 17 00:00:00 2001 From: Riku Silvennoinen Date: Mon, 30 Jun 2025 01:02:12 +0300 Subject: [PATCH] Update update.sh --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index ee1353a..0882ca4 100644 --- a/update.sh +++ b/update.sh @@ -10,7 +10,7 @@ rm päivitä printf '#!/bin/bash\n' > päivitä # Hae käyttöjärjestelmän nimi ja versio -OS_NAME="$(. /etc/os-release && echo "$NAME $VERSION_ID")" +OS_NAME=$(grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2 | tr -d '"') # Hae bittisyys ARCH="$(uname -m)"