From 79cbe5ad3ce4646d06e415dafcd1e9db247dc57a Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Fri, 5 Apr 2024 14:34:01 +0300 Subject: [PATCH] fix(install.sh): change post-install advisory when installing specific version --- install.sh | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index 57b1fc1454fa6..cdb0bed420223 100755 --- a/install.sh +++ b/install.sh @@ -118,16 +118,19 @@ echo_standalone_postinstall() { return fi - channel=mainline + channel= advisory="To install our stable release (v${STABLE_VERSION}), use the --stable flag. " - if [ "${MAINLINE}" = 0 ]; then - channel=stable + if [ "${STABLE}" = 1 ]; then + channel="stable " advisory="" fi + if [ "${MAINLINE}" = 1 ]; then + channel="mainline " + fi cath <