Skip to content

Commit

Permalink
Mention disabling the self-install/upgrade task for packagers.
Browse files Browse the repository at this point in the history
  • Loading branch information
technomancy committed Jul 22, 2010
1 parent 13dff97 commit 8fe309d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/lein
Expand Up @@ -74,6 +74,8 @@ fi

JAVA_CMD=${JAVA_CMD:-"java"}

# If you're packaging this for a package manager (.deb, homebrew, etc)
# you need to remove the self-install and upgrade functionality.
if [ "$1" = "self-install" ]; then
echo "Downloading Leiningen now..."
LEIN_DIR=`dirname "$LEIN_JAR"`
Expand Down

0 comments on commit 8fe309d

Please sign in to comment.