File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -265,23 +265,23 @@ function get_distname() {
265265 $ distbaseid = 'fedora ' ;
266266 } elseif (stristr ($ content , 'CentOS release 5 ' )) {
267267 $ distname = 'CentOS ' ;
268- $ distver = 'Unknown ' ;
268+ $ distver = '5 ' ;
269269 $ distid = 'centos53 ' ;
270270 $ distbaseid = 'fedora ' ;
271271 } elseif (stristr ($ content , 'CentOS Linux release 6 ' )) {
272272 $ distname = 'CentOS ' ;
273- $ distver = 'Unknown ' ;
273+ $ distver = '6 ' ;
274274 $ distid = 'centos53 ' ;
275275 $ distbaseid = 'fedora ' ;
276276 } elseif (stristr ($ content , 'CentOS Linux release 7.2 ' )) {
277277 $ distname = 'CentOS ' ;
278- $ distver = 'Unknown ' ;
278+ $ distver = '7.2 ' ;
279279 $ distid = 'centos70 ' ;
280280 $ distconfid = 'centos72 ' ;
281281 $ distbaseid = 'fedora ' ;
282282 } elseif (stristr ($ content , 'CentOS Linux release 7 ' )) {
283283 $ distname = 'CentOS ' ;
284- $ distver = 'Unknown ' ;
284+ $ distver = '7 ' ;
285285 $ distid = 'centos70 ' ;
286286 $ distbaseid = 'fedora ' ;
287287 } else {
You can’t perform that action at this time.
0 commit comments