diff options
Diffstat (limited to 'templates/show')
-rw-r--r-- | templates/show/version/node.def | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/show/version/node.def b/templates/show/version/node.def index fdeffc2..771e56e 100644 --- a/templates/show/version/node.def +++ b/templates/show/version/node.def @@ -1,2 +1,6 @@ help: "Show Vyatta version information" -run: cat /usr/share/doc/vyatta-*/VERSION /dev/null +run: for cl in /usr/share/doc/vyatta-*/changelog.gz ; do + pkg=${cl%/*} ; + echo -n ${pkg##*/} ; + gunzip $cl | tail -n1 ; + done |