From 3903cc3b39ece18857e580ce75c8cb9026b7e7d1 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 17 Dec 2018 21:20:33 +0000 Subject: Rename 'version' setting to 'release'. --- config/build.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/build.cfg') diff --git a/config/build.cfg b/config/build.cfg index 1905882..2e901a4 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -1,5 +1,5 @@ my $distro = $build->{settings}{distro}; -my $version = $build->{settings}{version}; +my $release = $build->{settings}{release}; my $product = $build->{settings}{product}; my $arch = $build->{settings}{arch}; my $default_user = $build->{settings}{default_user}; @@ -15,14 +15,14 @@ my @user_config_dirs = ('/etc/skel', '/home/' . $default_user); sub build_label { my ($build) = @_; - my $short_version = $version =~ s/beta/b/r; - join('-', $distro, $short_version, $product, $desktops[0], $arch); + my $short_release = $release =~ s/beta/b/r; + join('-', $distro, $short_release, $product, $desktops[0], $arch); } sub build_title { my ($build) = @_; - join(' ', $distro, $version, $product, $desktops[0]); + join(' ', $distro, $release, $product, $desktops[0]); } my $default_append = 'root=mgalive:LABEL=' . build_label($build) . ' splash quiet noiswmd audit=0 rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0'; -- cgit v1.2.1