From ca7fa340bd4f95216d2c29ea5909f650ce0744d9 Mon Sep 17 00:00:00 2001 From: Brock Szuszczewicz Date: Sat, 27 Jan 2024 13:33:39 -0700 Subject: [PATCH] More helpful error if missing lsb_release --- ponyup-init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ponyup-init.sh b/ponyup-init.sh index 45a4ebe..9ad7d9a 100755 --- a/ponyup-init.sh +++ b/ponyup-init.sh @@ -110,6 +110,10 @@ Linux*) *"Pop!_OS 20.04"*) platform_triple_distro="ubuntu20.04" ;; + "") + printf "%bPlease install lsb_release first. For example: 'apt-get install lsb_release' or 'dnf isntall lsb_release'%b\n" "${RED}" "${DEFAULT}" + exit 1 + ;; *) ;; esac ;;