mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-20 13:06:38 +00:00
Add allowerasing flag to dnf install
Fixes issues with conflicting packages that may occur on some systems. Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
This commit is contained in:
committed by
Alex Ellis
parent
6f0ac37e3c
commit
e98c949019
@ -38,7 +38,7 @@ install_required_packages() {
|
|||||||
apt-get update -yq
|
apt-get update -yq
|
||||||
apt-get install -yq curl runc bridge-utils iptables iptables-persistent
|
apt-get install -yq curl runc bridge-utils iptables iptables-persistent
|
||||||
elif $(has_dnf); then
|
elif $(has_dnf); then
|
||||||
dnf install -y curl runc iptables-services bridge-utils which
|
dnf install -y --allowerasing curl runc iptables-services bridge-utils which
|
||||||
elif $(has_pacman); then
|
elif $(has_pacman); then
|
||||||
pacman -Syy
|
pacman -Syy
|
||||||
pacman -Sy curl runc bridge-utils
|
pacman -Sy curl runc bridge-utils
|
||||||
|
Reference in New Issue
Block a user