summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakfont
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-24 14:32:29 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-24 14:32:29 +0000
commit8d36cfc1730ec7f9ccf3b258d765a6d90906991b (patch)
treea331fd0a77ff6a6d037ad59c2c4424b8b4be7f4e /perl-install/standalone/drakfont
parent608f8fc1b8991a58ae10ddaeb5c0751eed14ec75 (diff)
downloaddrakx-8d36cfc1730ec7f9ccf3b258d765a6d90906991b.tar
drakx-8d36cfc1730ec7f9ccf3b258d765a6d90906991b.tar.gz
drakx-8d36cfc1730ec7f9ccf3b258d765a6d90906991b.tar.bz2
drakx-8d36cfc1730ec7f9ccf3b258d765a6d90906991b.tar.xz
drakx-8d36cfc1730ec7f9ccf3b258d765a6d90906991b.zip
(list_fontpath) handle fontpath.d
Diffstat (limited to 'perl-install/standalone/drakfont')
-rwxr-xr-xperl-install/standalone/drakfont2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakfont b/perl-install/standalone/drakfont
index 5f85e347b..c761af568 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -165,7 +165,7 @@ my @installed_fonts_path; # list of path included in xfs
my @installed_fonts_full_path; # full path list of fonts to uninstall
sub list_fontpath() {
- foreach (grep { /\d+:\s/ } `$chkfontpath -l`) {
+ foreach (uniq((map { expand_symlinks($_) } glob_('/etc/X11/fontpath.d/*')), grep { /\d+:\s/ } `$chkfontpath -l`)) {
chomp;
s/\d+:\s//gi;
s/:\w*$//gi;