You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
355 B
19 lines
355 B
![]()
9 years ago
|
#!/bin/sh
|
||
|
|
||
|
set -ex
|
||
|
|
||
![]()
8 years ago
|
\. ../../../../nvm.sh
|
||
|
\. ../../../common.sh
|
||
![]()
9 years ago
|
|
||
|
LTS_ALIAS_PATH="$(nvm_alias_path)/lts"
|
||
|
|
||
![]()
8 years ago
|
rm -rf "${LTS_ALIAS_PATH}"
|
||
|
|
||
![]()
8 years ago
|
die () { echo "$@" ; exit 1; }
|
||
![]()
9 years ago
|
|
||
|
[ ! -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' exists and should not"
|
||
|
|
||
|
nvm alias >/dev/null 2>&1
|
||
|
|
||
|
[ -d "${LTS_ALIAS_PATH}" ] || die "'${LTS_ALIAS_PATH}' does not exist and should"
|