summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-10-21 10:36:40 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-10-21 10:36:40 +0200
commit78dc8583969a046b51ef4f099b1d182f73dcaa12 (patch)
tree32de7fca72ce05dbbf244243e6e9c195dcf2a998
parent8c84342b2092f3823e38188bd9ed11e5f5ff2e3f (diff)
downloadzsh-78dc8583969a046b51ef4f099b1d182f73dcaa12.tar.gz
zsh-78dc8583969a046b51ef4f099b1d182f73dcaa12.tar.bz2
zsh-78dc8583969a046b51ef4f099b1d182f73dcaa12.zip
Revert "Make install script safer"
This reverts commit c9d93757e82785a0fd1e0d1222f5d61e01849703, which makes it fail with a syntax error: sh: 1: Syntax error: "(" unexpected
-rwxr-xr-xtools/install.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/install.sh b/tools/install.sh
index e65905025..be43968bc 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -1,4 +1,3 @@
-function main() {
# Use colors, but only if connected to a terminal, and that terminal
# supports them.
if which tput >/dev/null 2>&1; then
@@ -117,6 +116,3 @@ echo 'p.p.s. Get stickers and t-shirts at http://shop.planetargon.com.'
echo ''
printf "${NORMAL}"
env zsh
-}
-
-main