From 5087803ef84e95e4e208dbc90db0f9af89dd1b9a Mon Sep 17 00:00:00 2001 From: ewy Date: Sat, 2 May 2026 15:14:15 +0200 Subject: update module path --- .pik/install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.pik/install.sh') diff --git a/.pik/install.sh b/.pik/install.sh index 117fcc6..0b23681 100644 --- a/.pik/install.sh +++ b/.pik/install.sh @@ -11,4 +11,10 @@ if [ -f "$DEST" ] ; then fi go build -o "$DEST" "$@" . -echo "congratulations!" \ No newline at end of file + +if [[ $PATH != *"$DEST_FOLDER"* ]] ; then + echo "installed pik but $DEST_FOLDER is not in \$PATH" + exit 1 +fi + +echo "congratulations! You are now using pik $(pik --version)" \ No newline at end of file -- cgit v1.3.1