shell-host/lang/fnm/fnm.inst

9 lines
338 B
Bash
Executable File

#!/bin/bash
if command -v fnm >/dev/null 2>&1; then
mkdir -p $BASH_SHELL_HOST/load/coding
ln -s $BASH_SHELL_ANY_HOST/lang/fnm $BASH_SHELL_HOST/load/coding/00-fnm
ln -s -f $BASH_SHELL_ANY_HOST/lang/node $BASH_SHELL_HOST/load/coding/node
else
echo fnm has not been installed on this machine or is not in the path
echo do so and try again
fi