From 6f4e8b97dd3dd264079d4c69f3c200cfaf63b21d Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Mon, 29 Aug 2022 21:48:40 +0200 Subject: [PATCH] Link to the installation guide from the shell Toolbox This will provide a path forward to those who stumble across the POSIX shell implementation and don't know how to use the Go implementation. https://github.com/containers/toolbox/pull/1094 --- toolbox | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/toolbox b/toolbox index 9ec5f0a..00db6a7 100755 --- a/toolbox +++ b/toolbox @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright © 2018 – 2021 Red Hat, Inc. +# Copyright © 2018 – 2022 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -16,7 +16,8 @@ # # THIS IMPLEMENTATION OF TOOLBOX IS NO LONGER MAINTAINED. -# Please, use the Go implementation instead. +# Please, use the Go implementation instead: +# https://containertoolbx.org/install/ exec 3>/dev/null @@ -2190,7 +2191,10 @@ update_container_and_image_names() arguments=$(save_positional_parameters "$@") echo "THIS IMPLEMENTATION OF TOOLBOX IS NO LONGER MAINTAINED." -echo "Please, use the Go implementation instead." +printf "Please, use the Go implementation instead: " +# shellcheck disable=SC1003 +printf '\033]8;;https://containertoolbx.org/install/\033\\containertoolbx.org/install\033]8;;\033\\' +printf "\n" echo host_id=$(get_host_id)