update install script 3
This commit is contained in:
@@ -108,8 +108,8 @@ fi
|
||||
|
||||
echo ""
|
||||
ok "Launching ${BINARY}..."
|
||||
if tty_dev=$(tty 2>/dev/null); then
|
||||
exec "$INSTALL_DIR/$BINARY" <"$tty_dev" >"$tty_dev" 2>"$tty_dev"
|
||||
if { true </dev/tty; } 2>/dev/null; then
|
||||
exec "$INSTALL_DIR/$BINARY" </dev/tty >/dev/tty 2>/dev/tty
|
||||
else
|
||||
ok "Run: $BINARY"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user