[Lunar-commits] <lunar> [FIX] #450: One more fix to only show held or installed modules when running lvu installed
Stefan Wold
ratler at lunar-linux.org
Sat Feb 26 11:25:09 CET 2011
commit 2a8d35abaebc3d9aeae5727b66c3e187502bece1
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Sat Feb 26 11:25:09 2011 +0100
[FIX] #450: One more fix to only show held or installed modules when running lvu installed
---
bin/lvu | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/lvu b/bin/lvu
index bda8a9d..df53256 100755
--- a/bin/lvu
+++ b/bin/lvu
@@ -1133,7 +1133,7 @@ main() {
installed)
if [ -z "$2" ] ; then
- view_file $MODULE_STATUS
+ grep -E ':(installed|held):' $MODULE_STATUS | view_file
elif [ -n "$(installed_version $2)" ] ; then
echo "$(installed_version $2)"
else
More information about the Lunar-commits
mailing list