fix: ensure installations treat raspbian as similar to debian buster as possible

This commit is contained in:
Jose Diaz-Gonzalez
2021-10-28 02:41:10 -04:00
parent 88736c1000
commit 57858c1788
7 changed files with 14 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ trigger-nginx-vhosts-dependencies() {
declare trigger="dependencies"
case "$DOKKU_DISTRO" in
debian)
debian | raspbian)
nginx_install
;;

View File

@@ -25,7 +25,7 @@ trigger-nginx-vhosts-install() {
fi
case "$DOKKU_DISTRO" in
debian)
debian | raspbian)
echo "%dokku ALL=(ALL) NOPASSWD:/usr/sbin/invoke-rc.d $NGINX_INIT_NAME reload, $NGINX_BIN -t, ${NGINX_BIN} -t -c *" >"$NGINX_SUDOERS_FILE"
;;

View File

@@ -102,7 +102,7 @@ fn-nginx-vhosts-nginx-init-cmd() {
fi
case "$DOKKU_DISTRO" in
debian)
debian | raspbian)
sudo /usr/sbin/invoke-rc.d "$NGINX_INIT_NAME" "$CMD"
;;