We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d99106b commit 1f7dcc8Copy full SHA for 1f7dcc8
packages/scripts/install.sh
@@ -232,9 +232,8 @@ EOF
232
}
233
234
_install_dnf() {
235
- _install_rpm_key
236
-
237
- dnf config-manager --add-repo https://download.opensuse.org/repositories/${OBS_PROJECT//:/:\/}/$DISTRO_REPO/${OBS_PROJECT}.repo
+ dnf install -y 'dnf-command(config-manager)'
+ dnf config-manager --add-repo https://download.opensuse.org/repositories/${OBS_PROJECT}/$DISTRO_REPO/${OBS_PROJECT}.repo
238
239
if [[ "$CRYSTAL_VERSION" == "latest" ]]; then
240
dnf install -y crystal
@@ -269,7 +268,7 @@ case $DISTRO_REPO in
269
268
_install_apt
270
;;
271
Fedora*)
272
- _install_yum
+ _install_dnf
273
274
RHEL*)
275
_install_yum
0 commit comments