From 649fc386d1947557d14d651e09719ebf8de7c9a7 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 23 Jan 2016 14:51:45 +0800 Subject: [PATCH] minor: fix install message. --- le.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/le.sh b/le.sh index 241ff9fb..0fcaaeb0 100755 --- a/le.sh +++ b/le.sh @@ -934,7 +934,7 @@ install() { #try install to /bin if is root if [ ! -f /usr/local/bin/le.sh ] ; then #if root - if $SUDO cp le.sh /usr/local/bin/le.sh ; then + if $SUDO cp le.sh /usr/local/bin/le.sh 2>&1 > /dev/null; then $SUDO chmod 755 /usr/local/bin/le.sh $SUDO ln -s "/usr/local/bin/le.sh" /usr/local/bin/le rm -f $WORKING_DIR/le.sh @@ -944,7 +944,7 @@ install() { #install to home, for non root user cp le.sh $WORKING_DIR/ chmod +x $WORKING_DIR/le.sh - _info "Installed to $WORKING_DIR/le" + _info "Installed to $WORKING_DIR/le.sh" fi fi rm -f $WORKING_DIR/le