Browse Source

Propagate _c_home variable in online install

pull/2219/head
Honza Hommer 7 years ago
parent
commit
c25c87be16
  1. 7
      acme.sh

7
acme.sh

@ -5704,7 +5704,8 @@ Parameters:
_installOnline() { _installOnline() {
_info "Installing from online archive." _info "Installing from online archive."
_nocron="$1" _nocron="$1"
_noprofile="$2"
_c_home="$2"
_noprofile="$3"
if [ ! "$BRANCH" ]; then if [ ! "$BRANCH" ]; then
BRANCH="master" BRANCH="master"
fi fi
@ -5725,7 +5726,7 @@ _installOnline() {
cd "$PROJECT_NAME-$BRANCH" cd "$PROJECT_NAME-$BRANCH"
chmod +x $PROJECT_ENTRY chmod +x $PROJECT_ENTRY
if ./$PROJECT_ENTRY install "$_nocron" "" "$_noprofile"; then
if ./$PROJECT_ENTRY install "$_nocron" "$_c_home" "$_noprofile"; then
_info "Install success!" _info "Install success!"
fi fi
@ -6425,7 +6426,7 @@ _process() {
if [ "$INSTALLONLINE" ]; then if [ "$INSTALLONLINE" ]; then
INSTALLONLINE="" INSTALLONLINE=""
_installOnline "$1" "$2"
_installOnline "$1" "$2" "$3"
exit exit
fi fi

Loading…
Cancel
Save