Navigation Menu

Skip to content

Commit

Permalink
Run curl silently
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 1, 2015
1 parent fed1c36 commit 74df516
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions install.sh
@@ -1,4 +1,4 @@
# Copyright (C) 2014 Droonga Project
# Copyright (C) 2014-2015 Droonga Project
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -340,7 +340,7 @@ install() {
exit 1
fi

curl -o $TEMPDIR/functions.sh $(download_url "install/$PLATFORM/functions.sh")
curl -s -o $TEMPDIR/functions.sh $(download_url "install/$PLATFORM/functions.sh")
if ! source $TEMPDIR/functions.sh; then
echo "ERROR: Failed to download post-installation script!"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions install/centos/functions.sh
@@ -1,4 +1,4 @@
# Copyright (C) 2014 Droonga Project
# Copyright (C) 2014-2015 Droonga Project
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -20,7 +20,7 @@ register_service() {

#TODO: we should migrate to systemd in near future...

curl -o /etc/rc.d/init.d/$NAME $(download_url "install/centos/$NAME")
curl -s -o /etc/rc.d/init.d/$NAME $(download_url "install/centos/$NAME")
if [ $? -ne 0 ]; then
echo "ERROR: Failed to download service script!"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions install/debian/functions.sh
@@ -1,4 +1,4 @@
# Copyright (C) 2014 Droonga Project
# Copyright (C) 2014-2015 Droonga Project
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -18,7 +18,7 @@ register_service() {
local USER=$2
local GROUP=$3

curl -o /etc/init.d/$NAME $(download_url "install/debian/$NAME")
curl -s -o /etc/init.d/$NAME $(download_url "install/debian/$NAME")
if [ $? -ne 0 ]; then
echo "ERROR: Failed to download service script!"
exit 1
Expand Down

0 comments on commit 74df516

Please sign in to comment.