From 2bbfe09c066243ebb1fe0650eb5833e3cc0d7f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 23 Apr 2020 11:07:46 +0200 Subject: sys-apps/personal-utils: Ignore header line --- sys-apps/personal-utils/files/emergefix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys-apps/personal-utils/files/emergefix') diff --git a/sys-apps/personal-utils/files/emergefix b/sys-apps/personal-utils/files/emergefix index d621173..dc7c1f2 100755 --- a/sys-apps/personal-utils/files/emergefix +++ b/sys-apps/personal-utils/files/emergefix @@ -29,7 +29,7 @@ run emerge --depclean -a "$@" step "Enable all fonts" enable_all_fonts() { eselect fontconfig list | \ - awk ' $3 != "*" { print substr($1,2,length($1)-2) }' | \ + awk 'NR > 1 && $3 != "*" { print substr($1,2,length($1)-2) }' | \ while read -r font; do eselect fontconfig enable "$font" done -- cgit v1.2.3