summaryrefslogtreecommitdiff
path: root/templates/show
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@vyatta.com>2007-09-20 18:43:23 -0700
committerTom Grennan <tgrennan@vyatta.com>2007-09-20 18:43:23 -0700
commit00b78e597b6e3aa1fd65ffdd7ea1ff2a2ac019d5 (patch)
treefcb84cdd6185730b49f58621ed751dae9e790d51 /templates/show
parent64e83f470a7076b63bd9b76c7b6bb516cbe9bb92 (diff)
downloadvyatta-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.def6
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