Changes from Version 1 of YumCodeSnippet/GetArchInfo

Show
Ignore:
Author:
james (IP: 65.172.155.230)
Timestamp:
09/09/10 16:24:42 (7 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • YumCodeSnippet/GetArchInfo

    v0 v1  
     1This will get you the arch. information that yum knows about. 
     2 
     3{{{ 
     4import rpmUtils.arch 
     5 
     6print '$arch =', rpmUtils.arch.getCanonArch() 
     7print '$basearch =', rpmUtils.arch.getBaseArch() 
     8}}}