Skip to content

Commit 51ff745

Browse files
committed
dnf module disable is only for RHEL 8 actually
1 parent 6375bba commit 51ff745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/downloads/js/yum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function get_installer(plat) {
3939
function disable_module_on(plat) {
4040
if (plat.startsWith('EL-')) {
4141
var a = plat.split('-');
42-
if (a[1] >= 8)
42+
if (a[1] == 8)
4343
return true;
4444
}
4545
return false;

0 commit comments

Comments
 (0)