3 // this class will provide OS knowledge - though how i have no idea yet
8 $knownOS = getKnownOSList();
15 function getRepoTypeForOS($os)
20 function getRepoTypes()
28 function getKnownOSList()
31 $kos["repotype"]["yum"] = "Yellowdog Updater Modified";
32 $kos["repotype"]["apt"] = "APT";
35 $kos["repotype"]["yum"][0] = "baseurl";
36 $kos["repotype"]["yum"][1] = "mirrorlist";
37 $kos["repotype"]["apt"][0] = "baseurl";
40 $kos["os"]["Fedora"] = "Fedora";
41 $kos["os"]["Debian"] = "Debian";
42 $kos["os"]["RedHat"] = "RedHat Enterprise Linux";
43 $kos["os"]["Ubuntu"] = "Ubuntu";
44 $kos["os"]["CentOS"] = "Community Enterprise OS";
47 $kos["os"]["Fedora"]["repotype"] = "yum";
48 $kos["os"]["Debian"]["repotype"] = "apt";
49 $kos["os"]["RedHat"]["repotype"] = "yum";
50 $kos["os"]["Ubuntu"]["repotype"] = "apt";
51 $kos["os"]["CentOS"]["repotype"] = "yum";