dnf module disable is only for RHEL 8 actually master github/master
authorDevrim Gunduz <[email protected]>
Mon, 8 Dec 2025 21:01:53 +0000 (00:01 +0300)
committerDevrim Gunduz <[email protected]>
Mon, 8 Dec 2025 21:01:53 +0000 (00:01 +0300)
templates/downloads/js/yum.js

index 484334bf0ad05abb86e899be0304b44fa4be9bf7..7ea636deffb459a1c1ce3782c1f185e4616d83b1 100644 (file)
@@ -39,7 +39,7 @@ function get_installer(plat) {
 function disable_module_on(plat) {
     if (plat.startsWith('EL-')) {
        var a = plat.split('-');
 function disable_module_on(plat) {
     if (plat.startsWith('EL-')) {
        var a = plat.split('-');
-       if (a[1] >= 8)
+       if (a[1] == 8)
            return true;
     }
     return false;
            return true;
     }
     return false;