This commit is contained in:
neil 2016-07-03 12:46:18 +08:00
parent d0b748a4f2
commit 0bbe6eef89

View File

@ -2508,8 +2508,10 @@ _installOnline() {
_debug "Download error." _debug "Download error."
return 1 return 1
fi fi
(
_info "Extracting $localname" _info "Extracting $localname"
tar xzf $localname tar xzf $localname
cd "$PROJECT_NAME-$BRANCH" cd "$PROJECT_NAME-$BRANCH"
chmod +x $PROJECT_ENTRY chmod +x $PROJECT_ENTRY
if ./$PROJECT_ENTRY install "$_nocron" ; then if ./$PROJECT_ENTRY install "$_nocron" ; then
@ -2517,8 +2519,10 @@ _installOnline() {
fi fi
cd .. cd ..
rm -rf "$PROJECT_NAME-$BRANCH" rm -rf "$PROJECT_NAME-$BRANCH"
rm -f "$localname" rm -f "$localname"
)
} }
upgrade() { upgrade() {