name conflict (install is a common binary)

This commit is contained in:
Philippe Kueck 2016-10-07 11:10:20 +02:00
parent 88c4d15c77
commit e3365baf4c

12
acme.sh
View File

@ -3331,7 +3331,7 @@ _installalias() {
} }
# nocron # nocron
install() { _install() {
if [ -z "$LE_WORKING_DIR" ] ; then if [ -z "$LE_WORKING_DIR" ] ; then
LE_WORKING_DIR="$DEFAULT_INSTALL_HOME" LE_WORKING_DIR="$DEFAULT_INSTALL_HOME"
@ -3431,7 +3431,7 @@ install() {
} }
# nocron # nocron
uninstall() { _uninstall() {
_nocron="$1" _nocron="$1"
if [ -z "$_nocron" ] ; then if [ -z "$_nocron" ] ; then
uninstallcronjob uninstallcronjob
@ -3603,7 +3603,7 @@ _installOnline() {
) )
} }
upgrade() { _upgrade() {
if ( if (
_initpath _initpath
export LE_WORKING_DIR export LE_WORKING_DIR
@ -4033,9 +4033,9 @@ _process() {
fi fi
case "${_CMD}" in case "${_CMD}" in
install) install "$_nocron" ;; install) _install "$_nocron" ;;
uninstall) uninstall "$_nocron" ;; uninstall) _uninstall "$_nocron" ;;
upgrade) upgrade ;; upgrade) _upgrade ;;
issue) issue)
issue "$_webroot" "$_domain" "$_altdomains" "$_keylength" "$_certpath" "$_keypath" "$_capath" "$_reloadcmd" "$_fullchainpath" "$_pre_hook" "$_post_hook" "$_renew_hook" "$_local_address" issue "$_webroot" "$_domain" "$_altdomains" "$_keylength" "$_certpath" "$_keypath" "$_capath" "$_reloadcmd" "$_fullchainpath" "$_pre_hook" "$_post_hook" "$_renew_hook" "$_local_address"
;; ;;