From 0bbe6eef89e3f36e824b31b68f040b36b075c2eb Mon Sep 17 00:00:00 2001 From: neil Date: Sun, 3 Jul 2016 12:46:18 +0800 Subject: [PATCH] minor --- acme.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/acme.sh b/acme.sh index f520f02c..90baf766 100755 --- a/acme.sh +++ b/acme.sh @@ -2508,8 +2508,10 @@ _installOnline() { _debug "Download error." return 1 fi + ( _info "Extracting $localname" tar xzf $localname + cd "$PROJECT_NAME-$BRANCH" chmod +x $PROJECT_ENTRY if ./$PROJECT_ENTRY install "$_nocron" ; then @@ -2517,8 +2519,10 @@ _installOnline() { fi cd .. + rm -rf "$PROJECT_NAME-$BRANCH" rm -f "$localname" + ) } upgrade() {