mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-22 22:08:39 +01:00
Handle DNF5 install script (#3026)
This commit is contained in:
parent
287ae81195
commit
f591e47404
@ -239,7 +239,12 @@ install_netbird() {
|
||||
dnf)
|
||||
add_rpm_repo
|
||||
${SUDO} dnf -y install dnf-plugin-config-manager
|
||||
${SUDO} dnf config-manager --add-repo /etc/yum.repos.d/netbird.repo
|
||||
if [[ "$(dnf --version | head -n1 | cut -d. -f1)" > "4" ]];
|
||||
then
|
||||
${SUDO} dnf config-manager addrepo --from-repofile=/etc/yum.repos.d/netbird.repo
|
||||
else
|
||||
${SUDO} dnf config-manager --add-repo /etc/yum.repos.d/netbird.repo
|
||||
fi
|
||||
${SUDO} dnf -y install netbird
|
||||
|
||||
if ! $SKIP_UI_APP; then
|
||||
|
Loading…
Reference in New Issue
Block a user