SHARE
TWEET

meteor-installer-wf-patch

a guest Oct 25th, 2015 123 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- install.sh  2015-10-25 12:17:03.990786237 +0000
  2. +++ install.sh.wf       2015-10-25 12:11:58.854664202 +0000
  3. @@ -31,7 +31,7 @@
  4.  ## know what shell the user has. Debian uses 'dash' for 'sh', for
  5.  ## example.
  6.  
  7. -PREFIX="/usr/local"
  8. +PREFIX=$HOME
  9.  
  10.  set -e
  11.  set -u
  12. @@ -163,11 +163,11 @@
  13.    # XXX this means that we can run sudo too many times. we should never
  14.    #     run it more than once if it fails the first time
  15.    if [ ! -d "$PREFIX/bin" ] ; then
  16. -      sudo mkdir -m 755 "$PREFIX" || true
  17. -      sudo mkdir -m 755 "$PREFIX/bin" || true
  18. +      mkdir -m 755 "$PREFIX" || true
  19. +      mkdir -m 755 "$PREFIX/bin" || true
  20.    fi
  21.  
  22. -  if sudo cp "$LAUNCHER" "$PREFIX/bin/meteor"; then
  23. +  if cp "$LAUNCHER" "$PREFIX/bin/meteor"; then
  24.      cat <<"EOF"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top