class Pkg(object):
Package Object.
Class Variable | DIST_DEB |
Distro fixed string. |
Class Variable | DIST_RH |
Distro fixed string. |
Class Variable | DIST_ARCH |
Distro fixed string. |
Class Variable | MAP |
Distro Attributes. |
Method | __init__ |
Initialize Pkg |
Instance Variable | is_testing |
Denote if the package is for testing purposes. |
Instance Variable | name |
Binary name. |
Instance Variable | rh |
rh instructions. |
Instance Variable | arch |
Arch instructions. |
Instance Variable | deb |
Debian instructions. |
Method | add_binary |
Add binary name to commands. |
Property | path |
Return binary path. |
Method | set_arch |
Set Arch value self.arch. |
Method | set_rh |
Set Redhat value self.rh. |
Method | set_deb |
Set Debian value self.deb. |
Property | map |
Dist Value map. |
Method | instruction |
Install Instruction in shell script. |
Property | dist |
Get Linux Distribution Information. |