Skip to content

Commit

Permalink
chore: Warn the user that it is uninstalling npm-install
Browse files Browse the repository at this point in the history
PR-URL: #182
Credit: @Hoidberg
Close: #182
Reviewed-by: @mikemimik
  • Loading branch information
Hoidberg authored and Michael Perrotte committed Dec 3, 2019
1 parent ae7afe5 commit 4c1b16f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/install.sh
Expand Up @@ -23,12 +23,14 @@ if [ "x$0" = "xsh" ]; then
if [ $ret -eq 0 ]; then
(exit 0)
else
echo "Uninstalling npm-install-$$.sh" >&2
rm npm-install-$$.sh
echo "Failed to download script" >&2
exit $ret
fi
sh npm-install-$$.sh
ret=$?
echo "Uninstalling npm-install-$$.sh" >&2
rm npm-install-$$.sh
exit $ret
fi
Expand Down

0 comments on commit 4c1b16f

Please sign in to comment.