mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-10 00:11:45 +00:00
minor: fix install message.
This commit is contained in:
parent
9a66cdb6a0
commit
649fc386d1
4
le.sh
4
le.sh
@ -934,7 +934,7 @@ install() {
|
|||||||
#try install to /bin if is root
|
#try install to /bin if is root
|
||||||
if [ ! -f /usr/local/bin/le.sh ] ; then
|
if [ ! -f /usr/local/bin/le.sh ] ; then
|
||||||
#if root
|
#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 chmod 755 /usr/local/bin/le.sh
|
||||||
$SUDO ln -s "/usr/local/bin/le.sh" /usr/local/bin/le
|
$SUDO ln -s "/usr/local/bin/le.sh" /usr/local/bin/le
|
||||||
rm -f $WORKING_DIR/le.sh
|
rm -f $WORKING_DIR/le.sh
|
||||||
@ -944,7 +944,7 @@ install() {
|
|||||||
#install to home, for non root user
|
#install to home, for non root user
|
||||||
cp le.sh $WORKING_DIR/
|
cp le.sh $WORKING_DIR/
|
||||||
chmod +x $WORKING_DIR/le.sh
|
chmod +x $WORKING_DIR/le.sh
|
||||||
_info "Installed to $WORKING_DIR/le"
|
_info "Installed to $WORKING_DIR/le.sh"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -f $WORKING_DIR/le
|
rm -f $WORKING_DIR/le
|
||||||
|
Loading…
Reference in New Issue
Block a user