utils: improved unsupported distro message.

previously, if installing on unkown distro, script would tell user that
their distro was unsupported. Changed error message prompting user to
install dependecies manually, then retry.

Signed-off-by: Gabe Venberg <gabevenberg@gmail.com>
This commit is contained in:
Gabe Venberg 2023-02-17 09:06:26 -06:00
parent 1047840cf8
commit 3cfce5a709

View File

@ -327,7 +327,7 @@ check_deps()
debian|ubuntu) sudo apt-get -y install $packages ;;
fedora) sudo dnf -y install $packages ;;
opensuse*|sles) sudo zypper install -y $packages ;;
*) die "Unsupported distro: $ID, install $packages manually and re-run"
*) die "Cannot automatically install packages on $ID, install $packages manually and re-run"
esac
}