From 7f0a644f639e5e4ef9d6ed326df7b8ec833e7de4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 17 Dec 2020 21:10:48 +0100 Subject: set version via config --- lib/DBInfoscreen/Controller/Static.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/DBInfoscreen/Controller/Static.pm') diff --git a/lib/DBInfoscreen/Controller/Static.pm b/lib/DBInfoscreen/Controller/Static.pm index d8872d1..fc309c6 100644 --- a/lib/DBInfoscreen/Controller/Static.pm +++ b/lib/DBInfoscreen/Controller/Static.pm @@ -10,8 +10,6 @@ my %default = ( admode => 'deparr', ); -my $dbf_version = qx{git describe --dirty} || 'experimental'; - sub redirect { my ($self) = @_; my $station = $self->param('station'); @@ -51,7 +49,7 @@ sub about { $self->render( 'about', hide_opts => 1, - version => $dbf_version + version => $self->config->{version} ); } -- cgit v1.2.3