summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 8cd3ead4c..3da0a013a 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -760,7 +760,7 @@ sub available_dms() {
my @l;
foreach (glob("$::prefix/usr/share/X11/dm.d/*.conf")) {
my %dm = getVarsFromSh($_);
- push @l, $dm{EXEC} if $dm{EXEC};
+ push @l, $dm{EXEC} if $dm{EXEC} && -x "$::prefix/$dm{EXEC}";
}
@l;
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 5ee72f2e8..6074ffbae 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- check DM really is installed, not just present in /usr/share/X11.dm.d
+
Version 18.6 - 21 Nov 2018
- fix DM preference when none is selected (don't default to XDM)