summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-07 11:58:39 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-07 11:58:39 +0000
commita163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5 (patch)
tree8af1293b105f01231bb87c018061bb3eb5f95a0f /perl-install/standalone
parent018933d46709703cd10846d5d30774d1b91f47f9 (diff)
downloaddrakx-a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5.tar
drakx-a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5.tar.gz
drakx-a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5.tar.bz2
drakx-a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5.tar.xz
drakx-a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5.zip
(move_fonts) fix it
Diffstat (limited to 'perl-install/standalone')
-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 03df9aedc..68d7a0d8b 100755
--- a/perl-install/standalone/drakfont
+++ b/perl-install/standalone/drakfont
@@ -308,7 +308,7 @@ sub convert_ttf_fonts {
sub move_fonts {
my ($src_dir, $dest_dir, @extensions) = @_;
my @fonts = map { s!.*/!!; $_ } map { glob("$src_dir/*.$_") } @extensions;
- next if !@fonts;
+ return if !@fonts;
system('mv', "$src_dir/$_", $dest_dir) foreach @fonts;
}