From f769ffd2656ae3920d417c458098907e8d1060c9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 30 Oct 2008 14:44:21 +0100 Subject: Updated in pkg(7): check_prereqs --- man/7/pkg | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'man/7') diff --git a/man/7/pkg b/man/7/pkg index 30daf3d..389f4d1 100644 --- a/man/7/pkg +++ b/man/7/pkg @@ -132,10 +132,20 @@ Returns true if I was found in the users PATH, otherwise false * B I +Mark I for installation + +* B I | B I + +Execute expression and automatically warn if it fails. +In case of B, automatically mark B 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 + After completing the execution of B, -pkg will offer to install all the packages added by this command. -Use in conjunction with B, like - is_installed brain || offer_install brain +pkg will offer to install all the packages added by B or +B, and will print out the text stored in $warn =item B I -- cgit v1.2.3