patinstall



NAME

      patinstall - install patch to a product release.


SYNOPSIS

      patinstall [-i] patch_path patch_name


DESCRIPTION

      The directories placed in the patch_pat/patch directory are supposed
      to be patches belonging to the product version (not necessarily
      installed into the product).

      Each patch_name directory contains the following files:

           Patch
                  files to be copied to the product structure (bin,
                  lib or other subdirectories).

           patch_name.pd
                  file describing where should the patch files be
                  copied. The patch_name.pd file follows pd file syntax
                  used for the pcopy command.

                  Examples:

                  file $PRODUCT_ROOT/subdir ; chmod 555 $FILE

                  This line specifies a file to be copied, where it
                  should be copied and which access the file should have.

                  bin/file $PRODUCT_ROOT/bin ; chmod 555 $FILE

                  This line specifies a file in a subdirectory to be copied,
               where it should be copied and which access the file should
               have.

             patch_name_customize
                  An optional korn-shell script which is executed after
                  the patch files are copied to the product. Usually this
                  file need not to be created. Only if some additional
                  actions must be done during the install process, this
                  script can be used.

             patch_name_decustomize
                  An optional korn-shell script which is executed after
                  the patch is removed from the product version. Only if
                  some additional actions are required, this script must
                  be created.

             README
                  This is an optional text file that shortly describes the
               functional changes the patch contains.

      The patinstall command copies patch files from a patch patch_name to
      the product release. Original files from the product release are saved
      in the Ipatch_path/Ppatch/patch_name/orig directory. Files can also be
      placed in subdirectories to the directory patch_name. Original files
      from the product release are saved in the
      Ipatch_path/Ppatch/patch_name/subdir/orig directory.  An uninstall
      script for removing patch files and copying back original files is
      created too.


    PARAMETERS
      patch_path
           A path where the patch is placed. Normally it is a
           product_release directory where the patch/patch_name directory is
           placed.

      patch_name
           The patch name placed in the product_release/patch directory. By
           default the patinstall command installs all patches if they are
           not already installed.

    OPTIONS
      -i   Ask for a confirmation for each patch installation.


SEE ALSO

      patuninstall(1), patls(1)


AUTHOR

      Ivica Crnkovic.