Browse Source

Merge pull request #4515 from brianloveswords/safer-install-script

Make install script safer
Marc Cornellà 9 years ago
parent
commit
662bdcc8d8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tools/install.sh

+ 4 - 0
tools/install.sh

@@ -1,3 +1,4 @@
+function main() {
 # Use colors, but only if connected to a terminal, and that terminal
 # supports them.
 tput=$(which tput)
@@ -117,3 +118,6 @@ echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.'
 echo ''
 printf "${NORMAL}"
 env zsh
+}
+
+main