diff options
author | Tom Grennan <tgrennan@vyatta.com> | 2007-09-20 18:43:23 -0700 |
---|---|---|
committer | Tom Grennan <tgrennan@vyatta.com> | 2007-09-20 18:43:23 -0700 |
commit | 00b78e597b6e3aa1fd65ffdd7ea1ff2a2ac019d5 (patch) | |
tree | fcb84cdd6185730b49f58621ed751dae9e790d51 /templates/show | |
parent | 64e83f470a7076b63bd9b76c7b6bb516cbe9bb92 (diff) | |
download | vyatta-op-00b78e597b6e3aa1fd65ffdd7ea1ff2a2ac019d5.tar.gz vyatta-op-00b78e597b6e3aa1fd65ffdd7ea1ff2a2ac019d5.zip |
merge ChangeLog generation, repo info and autoreconf into
debian/autogen.sh that is in turn run from debian/rules
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 |