diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-10-07 11:58:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-10-07 11:58:39 +0000 |
commit | a163db778ee0de4f9c34b5b9a6cb17b8f41fc9a5 (patch) | |
tree | 8af1293b105f01231bb87c018061bb3eb5f95a0f /perl-install/standalone/drakfont | |
parent | 018933d46709703cd10846d5d30774d1b91f47f9 (diff) | |
download | drakx-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/drakfont')
-rwxr-xr-x | perl-install/standalone/drakfont | 2 |
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; } |