feat: support the file:// scheme to install plugin

This commit is contained in:
Mayeu
2019-04-23 15:23:35 +07:00
parent bb494b69ea
commit 252092c73a
2 changed files with 50 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ plugin_install_cmd() {
[[ "$#" -gt 2 ]] && dokku_log_info1_quiet "Cannot install additional core plugins, running core plugin install trigger"
PLUGIN_PATH="$PLUGIN_CORE_PATH" plugn trigger install
;;
https:* | git* | ssh:* | *.tar.gz | *.tgz)
https:* | git* | ssh:* | file:* | *.tar.gz | *.tgz)
shift
download_and_enable_plugin "$@"
plugn trigger install