diff options
Diffstat (limited to 'pkgtools/pkg_install/files/add/pkg_add.cat1')
-rw-r--r-- | pkgtools/pkg_install/files/add/pkg_add.cat1 | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/pkgtools/pkg_install/files/add/pkg_add.cat1 b/pkgtools/pkg_install/files/add/pkg_add.cat1 index b1663a19e22..a46791605de 100644 --- a/pkgtools/pkg_install/files/add/pkg_add.cat1 +++ b/pkgtools/pkg_install/files/add/pkg_add.cat1 @@ -207,7 +207,13 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS from that of the host, installation is aborted. This behavior is overridable with the --ff flag. - 7. If the package contains a _r_e_q_u_i_r_e script (see pkg_create(1)), + 7. The package build information from _+_B_U_I_L_D___I_N_F_O is then checked + for IGNORE_RECOMMENDED. If the package was built with depen- + dency recommendations ignored, installation will be aborted. + This behavior is overridable with the --ff flag and the + PKG_IGNORE_RECOMMENDED environment variable. + + 8. If the package contains a _r_e_q_u_i_r_e script (see pkg_create(1)), it is executed with the following arguments: _p_k_g_-_n_a_m_e The name of the package being installed @@ -220,7 +226,7 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS If the _r_e_q_u_i_r_e script exits with a non-zero status code, the installation is terminated. - 8. If the package contains an _i_n_s_t_a_l_l script, it is executed with + 9. If the package contains an _i_n_s_t_a_l_l script, it is executed with the following arguments: _p_k_g_-_n_a_m_e The name of the package being installed. @@ -232,19 +238,19 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS If the _i_n_s_t_a_l_l script exits with a non-zero status code, the installation is terminated. - 9. If @@ooppttiioonn eexxttrraacctt--iinn--ppllaaccee is not present in the packing + 10. If @@ooppttiioonn eexxttrraacctt--iinn--ppllaaccee is not present in the packing list, then it is used as a guide for moving (or copying, as necessary) files from the staging area into their final loca- tions. - 10. If the package contains an _m_t_r_e_e_f_i_l_e file (see pkg_create(1)), + 11. If the package contains an _m_t_r_e_e_f_i_l_e file (see pkg_create(1)), then mtree is invoked as: mmttrreeee --uu --ff _m_t_r_e_e_f_i_l_e --dd --ee --pp _p_r_e_f_i_x where _p_r_e_f_i_x is either the prefix specified with the --pp flag or, if no --pp flag was specified, the name of the first direc- tory named by a @@ccwwdd directive within this package. - 11. If an _i_n_s_t_a_l_l script exists for the package, it is executed + 12. If an _i_n_s_t_a_l_l script exists for the package, it is executed with the following arguments: _p_k_g___n_a_m_e The name of the package being installed. @@ -253,7 +259,7 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS any actions needed after the package has been installed. - 12. After installation is complete, a copy of the packing list, + 13. After installation is complete, a copy of the packing list, _d_e_i_n_s_t_a_l_l script, description, and display files are copied into _/_v_a_r_/_d_b_/_p_k_g_/_<_p_k_g_-_n_a_m_e_> for subsequent possible use by pkg_delete(1). Any package dependencies are recorded in the @@ -261,12 +267,12 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS an alternate package database directory is specified, then it overrides the _/_v_a_r_/_d_b_/_p_k_g path shown above). - 13. If the package is a depoted package, then add it to the + 14. If the package is a depoted package, then add it to the default view. - 14. The staging area is deleted and the program terminates. + 15. The staging area is deleted and the program terminates. - 15. Finally, if we were upgrading a package, any _+_R_E_Q_U_I_R_E_D___B_Y file + 16. Finally, if we were upgrading a package, any _+_R_E_Q_U_I_R_E_D___B_Y file that was moved aside before upgrading was started is now moved back into place. |