mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
Fixed dnf5 config-manager addrepo command syntax
I updated the dnf5 syntax from 'dnf config-manager addrepo --from-repofile=<URL>' to 'dnf config-manager addrepo --from-repofile <URL>'
This commit is contained in:
parent
231a83d76a
commit
1283c994ca
1 changed files with 2 additions and 1 deletions
|
|
@ -594,7 +594,8 @@ if ! [ -x "$(command -v docker)" ]; then
|
|||
"centos" | "fedora" | "rhel")
|
||||
if [ -x "$(command -v dnf5)" ]; then
|
||||
# dnf5 is available
|
||||
dnf config-manager addrepo --from-repofile=https://download.docker.com/linux/$OS_TYPE/docker-ce.repo --overwrite >/dev/null 2>&1
|
||||
dnf config-manager addrepo --from-repofile https://download.docker.com/linux/$OS_TYPE/docker-ce.repo
|
||||
--overwrite >/dev/null 2>&1
|
||||
else
|
||||
# dnf5 is not available, use dnf
|
||||
dnf config-manager --add-repo=https://download.docker.com/linux/$OS_TYPE/docker-ce.repo >/dev/null 2>&1
|
||||
|
|
|
|||
Loading…
Reference in a new issue