mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
Several of the packages being installed were actually transitional packages, that is, the package itself is either a complete no-op (since the package is already installed), or else the package only exists to depend on another package of a new name (to support people who are running older operating systems). For the former, we can drop the dependency entirely, and for the latter we should use the new package name directly.
17 lines
370 B
Bash
Executable File
17 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-nginx-vhosts-dependencies() {
|
|
declare desc="installs dependencies for the nginx-vhosts plugin"
|
|
declare trigger="dependencies"
|
|
|
|
case "$DOKKU_DISTRO" in
|
|
arch)
|
|
pacman -S --noconfirm --noprogressbar --needed nginx bind-tools
|
|
;;
|
|
esac
|
|
}
|
|
|
|
trigger-nginx-vhosts-dependencies "$@"
|