mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-31 12:27:22 +02:00
patch-em-all: Purge old license files
[why] Old (renamed) license files are not cleaned up automatically. The new files will be put into the patched-fonts dir, but old ones not removed. [how] With commit afd7ba10 patch-em-all: Purge destination dirs if possible the script purges old font files from the patched-fonts directory to get rid of renamed font files. This has been deliberately limited to ttf and otf files. But as all license files are automatically copied over we can also remove them. This (finally) remove the possibility to manually put any files in those directories. This can be good or bad. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
4e3f64e22b
commit
3d8d673cb5
@ -92,7 +92,7 @@ function patch_font {
|
||||
if [ -n ${purge} -a -d "${patched_font_dir}complete" ]
|
||||
then
|
||||
echo "Purging patched font dir ${patched_font_dir}complete"
|
||||
rm ${patched_font_dir}complete/*.[to]tf
|
||||
rm ${patched_font_dir}complete/*
|
||||
fi
|
||||
|
||||
config_parent_dir=$( cd "$( dirname "$f" )" && cd ".." && pwd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user