Merge pull request #486 from Neilpang/dev

fix https://github.com/Neilpang/acme.sh/issues/481
This commit is contained in:
neil 2016-12-21 21:09:37 +08:00 committed by GitHub
commit 1fb800f7a7

View File

@ -3977,7 +3977,10 @@ _installOnline() {
fi fi
( (
_info "Extracting $localname" _info "Extracting $localname"
tar xzf $localname if ! (tar xzf $localname || gtar xzf $localname); then
_err "Extraction error."
exit 1
fi
cd "$PROJECT_NAME-$BRANCH" cd "$PROJECT_NAME-$BRANCH"
chmod +x $PROJECT_ENTRY chmod +x $PROJECT_ENTRY