Skip to content

Commit 06ea8a5

Browse files
author
emmett1
committed
fix
1 parent dfbce38 commit 06ea8a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkgbuild

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,9 @@ packaging() {
305305
rm -f usr/share/info/dir usr/info/dir
306306
rm -f usr/lib/charset.alias # on musl system
307307
find . \( -name perllocal.pod -o -name .packlist \) -delete
308-
find usr/share/fonts \( -name fonts.dir -o -name fonts.scale \) -delete
308+
[ -d usr/share/fonts ] && {
309+
find usr/share/fonts \( -name fonts.dir -o -name fonts.scale \) -delete
310+
}
309311

310312
# remove pseudo directories
311313
#rm -fr dev sys proc run tmp

0 commit comments

Comments
 (0)