From 6bff21f764461613ce6fb2e5fcb0ed7eef046ac6 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Tue, 28 Mar 2017 23:28:18 +0100 Subject: Use Xfce instead of xfce4 for the ISO file name and disk label. This is the name & capitalisation used upstream. --- config/auto_inst.cfg.pl | 2 +- config/live.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/auto_inst.cfg.pl b/config/auto_inst.cfg.pl index 7ae502e..81d1071 100644 --- a/config/auto_inst.cfg.pl +++ b/config/auto_inst.cfg.pl @@ -11,7 +11,7 @@ my $distro_config = lc($distro_release); my @desktops = split(/\|/, $ENV{DRAKLIVE_DESKTOP}); my $has_plasma = member('Plasma', @desktops); my $has_gnome = member('GNOME', @desktops); -my $has_xfce = member('xfce4', @desktops); +my $has_xfce = member('Xfce', @desktops); my $has_lxde = member('LXDE', @desktops); my $has_enlightenment = member('Enlightenment', @desktops); diff --git a/config/live.cfg b/config/live.cfg index dff647b..438704d 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -177,7 +177,7 @@ my $_l = { if_($live->{settings}{default_user}, "echo $live->{settings}{default_user} > /etc/draklive-install.d/user"), "perl -pi -e 's,,$live->{settings}{default_user},' /etc/draklive-install.d/sysconfig/finish-install", - if_($live->{settings}{desktop} eq 'xfce4' && $live->{settings}{default_user}, + if_($live->{settings}{desktop} eq 'Xfce' && $live->{settings}{default_user}, # add a desktop icon to run draklive-install "mkdir -p /home/$live->{settings}{default_user}/Desktop", "cp /usr/share/applications/mageia-draklive-install.desktop /home/$live->{settings}{default_user}/Desktop/draklive-install.desktop", -- cgit v1.2.1