[Lunar-commits] CVS: theedge/bin lvu,1.68,1.69

Auke Kok sofar at lunar-linux.org
Wed Apr 20 08:38:18 UTC 2005


Update of /var/cvs/lunar/theedge/bin
In directory espresso.foo-projects.org:/home/sofar/active/theedge/bin

Modified Files:
	lvu 
Log Message:
lvu from now displays the results with a space as delimiter which allows all sorts of re-use stuff.


Index: lvu
===================================================================
RCS file: /var/cvs/lunar/theedge/bin/lvu,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- lvu	7 Apr 2005 09:19:54 -0000	1.68
+++ lvu	20 Apr 2005 08:38:16 -0000	1.69
@@ -760,8 +760,12 @@
       ;;
 
     from)
-      cd $INSTALL_LOGS
-      grep $2 *
+      for MODULE in $(list_installed); do
+        VERSION=$(installed_version $MODULE)
+        if grep -q "$2" $INSTALL_LOGS/$MODULE-$VERSION ; then
+          echo "$MODULE $VERSION"
+        fi
+      done
       ;;
       
     newer)



More information about the Lunar-commits mailing list