summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-18 13:48:53 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-11-18 13:48:53 +0100
commit3dc19744cde6775140d1b65ec628eb9030872364 (patch)
treeeb9ac589b368c979c4a653b94b73cbc888bc57f7
parent00cc8e6872850df1c61b00bb6d484bf56740f3ee (diff)
downloaddraklive-config-3dc19744cde6775140d1b65ec628eb9030872364.tar
draklive-config-3dc19744cde6775140d1b65ec628eb9030872364.tar.gz
draklive-config-3dc19744cde6775140d1b65ec628eb9030872364.tar.bz2
draklive-config-3dc19744cde6775140d1b65ec628eb9030872364.tar.xz
draklive-config-3dc19744cde6775140d1b65ec628eb9030872364.zip
Abbreviate "beta" to "b" in volume label (to fit in 32 character limit).
-rw-r--r--config/build.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 5e1657f..95ddb2d 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -15,7 +15,8 @@ my @user_config_dirs = ('/etc/skel', '/home/' . $default_user);
sub build_label {
my ($build) = @_;
- join('-', $distro, $version, $product, $desktops[0], $arch);
+ my $short_version = $version =~ s/beta/b/r;
+ join('-', $distro, $short_version, $product, $desktops[0], $arch);
}
sub build_title {