From 53db1d2c9bc323f84a78b98b6d86baf53c3da57f Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Wed, 4 Dec 2013 16:19:55 -0600 Subject: [PATCH] From kicad-install.sh, issue instructional aid on setting KIGITHUB if not already set. --- scripts/kicad-install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/kicad-install.sh b/scripts/kicad-install.sh index 260dbcb8a7..1ceac154cf 100755 --- a/scripts/kicad-install.sh +++ b/scripts/kicad-install.sh @@ -230,6 +230,12 @@ install_or_update() echo echo 'All KiCad "--install-or-update" steps completed, you are up to date.' + + if [ -z "${KIGITHUB}" ]; then + echo "Please set an environment variable by adding:" + echo "export KIGITHUB=https://github.com/KiCad" + echo "to your ~/.bashrc file. Then reboot." + fi }