diff --git a/update.sh b/update.sh index a9a525c..6d9d212 100644 --- a/update.sh +++ b/update.sh @@ -13,7 +13,7 @@ printf 'echo ""\n' >> päivitä printf 'echo ""\n' >> päivitä # Hae käyttöjärjestelmän nimi ja versio -OS_NAME=$(grep '^PRETTY_NAME=' /etc/os-release | cut -d= -f2 | tr -d '"') +OS_NAME="$(. /etc/os-release && echo "$NAME $VERSION_ID")" # Hae bittisyys ARCH="$(uname -m)"