summaryrefslogtreecommitdiffstats
path: root/config/build.cfg
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-05-30 20:17:32 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-05-30 20:17:32 +0100
commit76485dbdaddc9698fae96ddaa3a5d5af687601a9 (patch)
treec1259d8afb1f2030476eb687c7e0dee10d3d9718 /config/build.cfg
parent64609e207ab8ea65c56bfbb44ed7510b48f8c124 (diff)
downloaddraklive-config-76485dbdaddc9698fae96ddaa3a5d5af687601a9.tar
draklive-config-76485dbdaddc9698fae96ddaa3a5d5af687601a9.tar.gz
draklive-config-76485dbdaddc9698fae96ddaa3a5d5af687601a9.tar.bz2
draklive-config-76485dbdaddc9698fae96ddaa3a5d5af687601a9.tar.xz
draklive-config-76485dbdaddc9698fae96ddaa3a5d5af687601a9.zip
Ensure volume label is <= 32 chars for alpha releases.
Diffstat (limited to 'config/build.cfg')
-rw-r--r--config/build.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 902a31d..68205a3 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -17,7 +17,9 @@ my @user_config_dirs = ('/etc/skel', '/home/' . $default_user);
sub build_label {
my ($build) = @_;
- my $short_release = $release =~ s/beta/b/r;
+ my $short_release = $release;
+ $short_release =~ s/alpha/a/;
+ $short_release =~ s/beta/b/;
join('-', $distro, $short_release, $product, $desktops[0], $arch);
}