Software::Packager::Object::Aix

Software::Packager::Object::Aix module it extends Software::Packager::Object and adds extra methods for use by the AIX packager.
Download

Software::Packager::Object::Aix Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • R Bernard Davison
  • Publisher web site:
  • http://search.cpan.org/~rbdavison/XML-API-WIX2-0.02/lib/XML/API/WIX2.pm

Software::Packager::Object::Aix Tags


Software::Packager::Object::Aix Description

Software::Packager::Object::Aix module it extends Software::Packager::Object and adds extra methods for use by the AIX packager. Software::Packager::Object::Aix module it extends Software::Packager::Object and adds extra methods for use by the AIX software packager.FUNCTIONSLPP TYPEThe LPP type for objects determines the type of LPP package created. If the objects destination is under /usr/share then the object is of type SHARE If the objects destination is under /usr then the object has a type of USER If the objects destination is under any other directory then the object has a type of ROOT+USER.Note: when using the methods lpp_type_is_share() lpp_type_is_user() lpp_type_is_root()If the lpp_type_is_share() returns true then both lpp_type_is_user() and lpp_type_is_root() will also return true.Also if lpp_type_is_user() returns true then lpp_type_is_root() will also return true. So when calling these method do something like... foreach my $object ($self->get_object_list()) { $share++ and next if $object->lpp_type_is_share(); $user++ and next if $object->lpp_type_is_user(); $root++ and next if $object->lpp_type_is_root(); }lpp_type_is_share() $share++ if $object->lpp_type_is_share();Returns the true if the LPP is SHARE otherwise it returns undef.lpp_type_is_user() $share++ if $object->lpp_type_is_user();Returns the true if the LPP is USER otherwise it returns undef.lpp_type_is_root() $share++ if $object->lpp_type_is_root();Returns the true if the LPP is ROOT+USER otherwise it returns undef.inventory_type() $type = $object->inventory_type();Returns the type of object to be added to the inventory file.destination() $object->destination($value); $destination = $object->destination();This method sets or returns the destination location for this object. The name of objects being installed cannot contain commas or colons. This is because commas and colons are used as delimiters in the control files used during the software installation process. Object names can contain non-ASCII charaters.user()This method sets or returns the user name that this object should be installed as.group() $object->group($value); $group = $object->group();This method sets or returns the group name that this object should be installed as.links()This method adds to the list of hard links to add for the file. If no arguments are passed then a string containing the list is returned.Requirements:· Perl Requirements: · Perl


Software::Packager::Object::Aix Related Software