From 4770f43ae4f68c5e72d0a0d4f86b7221112dab21 Mon Sep 17 00:00:00 2001 From: LoveIsGrief Date: Sun, 16 Nov 2014 15:38:50 +0100 Subject: [PATCH] Revert "Introduce "copy" METHOD for installation" This reverts commit 6acce5246ac226f3537bcecb84dbb25b31e7cbda. --- install.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/install.sh b/install.sh index adb7bf5..8974593 100755 --- a/install.sh +++ b/install.sh @@ -109,18 +109,6 @@ nvm_do_install() { exit 1 fi install_nvm_as_script - elif [ "~$METHOD" = "~copy" ]; then - local COPY=true - if [ $DIR = $NVM_DIR ]; then - echo "=> install.sh is already in $NVM_DIR" - COPY=false - elif [ -d $NVM_DIR ]; then - echo "=> $NVM_DIR already exists and its contents will be replaced" - fi - mkdir -p $NVM_DIR - if $COPY; then - cp -R $DIR/* $NVM_DIR - fi fi echo