From 00b78e597b6e3aa1fd65ffdd7ea1ff2a2ac019d5 Mon Sep 17 00:00:00 2001 From: Tom Grennan Date: Thu, 20 Sep 2007 18:43:23 -0700 Subject: merge ChangeLog generation, repo info and autoreconf into debian/autogen.sh that is in turn run from debian/rules --- templates/show/version/node.def | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates/show') 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 -- cgit v1.2.3