diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-30 14:44:21 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-30 14:44:21 +0100 |
commit | f769ffd2656ae3920d417c458098907e8d1060c9 (patch) | |
tree | 3c7ed0f1bec63cc2519b826e1236eb654ac8b6c8 | |
parent | 290a99cef54edfd8b54349cfe658450f14d69134 (diff) |
Updated in pkg(7): check_prereqs
-rw-r--r-- | man/7/pkg | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -132,10 +132,20 @@ Returns true if I<commandname> was found in the users PATH, otherwise false * B<offer_install> I<package> +Mark I<package> for installation + +* B<require> I<expression> | B<require package> I<package> + +Execute expression and automatically warn if it fails. +In case of B<require package>, automatically mark B<package> for installation +if it isn't installed + +Additionally, the string parameter 'warn' can be used to soak up warnings. +It's also used by B<require> + After completing the execution of B<prereqs>, -pkg will offer to install all the packages added by this command. -Use in conjunction with B<is_installed>, like - is_installed brain || offer_install brain +pkg will offer to install all the packages added by B<offer_install> or +B<require package>, and will print out the text stored in $warn =item B<populate_collected> I<package> |