[Lunar-commits] r17243 - in lunar/trunk: bin usr/share/man/man1
Auke Kok
sofar at lunar-linux.org
Wed Nov 9 19:56:37 UTC 2005
Author: sofar
Date: 2005-11-09 19:56:30 +0000 (Wed, 09 Nov 2005)
New Revision: 17243
Modified:
lunar/trunk/bin/lvu
lunar/trunk/usr/share/man/man1/lvu.1
Log:
New feature: `lvu expired`, shows a list of modules which need an update, including old an new version numbers.
Modified: lunar/trunk/bin/lvu
===================================================================
--- lunar/trunk/bin/lvu 2005-11-09 18:18:37 UTC (rev 17242)
+++ lunar/trunk/bin/lvu 2005-11-09 19:56:30 UTC (rev 17243)
@@ -34,7 +34,7 @@
cat << EOF
LVU -- Lunar View utility (for viewing just about everything in Lunar-Linux)
-Usage: lvu [general options] [command [command parameters]]
+Usage: lvu [general options] [command [command parameters]]
GENERAL OPTIONS:
@@ -61,6 +61,7 @@
dependencies
held display held modules
exiled display exiled modules
+expired display a list of modules which need an update
info module display terse summary information about module
search "phrase" searches all modules long descriptions for phrase.
@@ -1004,6 +1005,12 @@
exiled)
grep ":exiled:" $MODULE_STATUS | cut -d: -f1
;;
+
+ expired)
+ for MODULE in $(list_expired_modules); do
+ echo "$MODULE ($(installed_version $MODULE) -> $(run_details $MODULE > /dev/null ; echo $VERSION))"
+ done
+ ;;
sum)
if [ -n "$2" ] ; then
Modified: lunar/trunk/usr/share/man/man1/lvu.1
===================================================================
--- lunar/trunk/usr/share/man/man1/lvu.1 2005-11-09 18:18:37 UTC (rev 17242)
+++ lunar/trunk/usr/share/man/man1/lvu.1 2005-11-09 19:56:30 UTC (rev 17243)
@@ -33,7 +33,7 @@
installed [module]
.PP
.B lvu
-held|exiled
+held|exiled|expired
.PP
.B lvu
section [section]
@@ -149,6 +149,10 @@
.IP
display exiled modules
.PP
+.B expired
+.IP
+display a list of modules which will be updated by a `lunar renew`
+.PP
.B sum
<module>
.IP
More information about the Lunar-commits
mailing list