mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-25 06:31:42 +00:00
fix bug, upgrade in current dir without installation.
This commit is contained in:
parent
3324c0ae79
commit
267f283a31
4
acme.sh
4
acme.sh
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
VER=2.5.1
|
VER=2.5.2
|
||||||
|
|
||||||
PROJECT_NAME="acme.sh"
|
PROJECT_NAME="acme.sh"
|
||||||
|
|
||||||
@ -3125,6 +3125,8 @@ _installOnline() {
|
|||||||
|
|
||||||
upgrade() {
|
upgrade() {
|
||||||
if (
|
if (
|
||||||
|
_initpath
|
||||||
|
export LE_WORKING_DIR
|
||||||
cd "$LE_WORKING_DIR"
|
cd "$LE_WORKING_DIR"
|
||||||
_installOnline "nocron"
|
_installOnline "nocron"
|
||||||
) ; then
|
) ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user