[sbopkg-users] r478 and Searchby Installed Packages

Chess Griffin chess at chessgriffin.com
Tue Feb 24 00:34:03 UTC 2009


* alkos333 <me at alkos333.net> [2009-02-23 17:39:25]:

> Never mind, just had to read the HELP... but  it would be nice if this
> somehow could be integrated in the UI.
> 

How about something like the attached diff?

-- 
Chess Griffin
-------------- next part --------------
Index: src/usr/bin/sbopkg
===================================================================
--- src/usr/bin/sbopkg	(revision 479)
+++ src/usr/bin/sbopkg	(working copy)
@@ -2803,7 +2803,9 @@
         dialog --title "Search" --ok-label "PKG" \
             --extra-button --extra-label "String" \
             --help-button --inputbox \
-            "Enter your search term..." 8 39 2> $TERM_FILE
+            "Enter your search term (prefix your search with 'inst:' \
+                to narrow search to installed packages)..." 10 39 \
+                2> $TERM_FILE
         case $? in # 0=PKG 3=String 1=Cancel 2=Help
             3) STRING=yes ;;
             2) dialog --title "Search Help" --msgbox \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20090223/1f093916/attachment.sig>


More information about the sbopkg-users mailing list