From 45cd8ae2e5716394c6e824c537fd8409efeaf9c4 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 23 Sep 2021 11:21:58 -0400 Subject: [PATCH] Fix an undefined variable error. --- candi.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/candi.sh b/candi.sh index d032851..a095511 100755 --- a/candi.sh +++ b/candi.sh @@ -646,10 +646,10 @@ guess_platform() { elif [ "${OS_NAME}" == "openSUSE Leap" ]; then echo opensuse15 - elif [ "${PRETTY_NAME}" == "Arch Linux" ]; then + elif [ "${OS_PRETTY_NAME}" == "Arch Linux" ]; then echo arch - elif [ "${PRETTY_NAME}" == "Manjaro Linux" ]; then + elif [ "${OS_PRETTY_NAME}" == "Manjaro Linux" ]; then echo arch fi fi -- 2.39.5