don't block stdin when using install script [ci skip]

This commit is contained in:
Florian Staudacher 2012-05-10 17:54:43 +02:00
parent e0e8b47cb4
commit 80511d065b
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ looking to contribute to D*. This script assumes you have [a basic Rails setup
### Step 1: Run the script and follow the on screen instructions.
```
curl https://raw.github.com/diaspora/diaspora/master/script/install.sh | /bin/sh
bash <(curl https://raw.github.com/diaspora/diaspora/master/script/install.sh)
```

View file

@ -101,7 +101,7 @@ interactive_check() {
echo ""
else
# non-interactive
TMPFILE='mktemp'
TMPFILE=`mktemp`
curl -s -o "$TMPFILE" "$D_INSTALL_SCRIPT_URL"
chmod +x "$TMPFILE"
exec 0< /dev/tty
@ -223,7 +223,7 @@ database_setup() {
# #
#### ####
interactive_check
#interactive_check
# display a nice welcome message