X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Fghostscript;h=5ff4e2435a2b6b454f18108943a2b723f8dce52d;hb=d0e5edd198015a62b0e89c7bfe2a4c60f68db44c;hp=242d9a34f80eff06536d84f07d8b679e44a8729e;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/ghostscript b/stage5/pkg/ghostscript index 242d9a3..5ff4e24 100644 --- a/stage5/pkg/ghostscript +++ b/stage5/pkg/ghostscript @@ -45,7 +45,7 @@ hvbuil_post() rmdir ${LFS_TMP}/fonts chown -v -R root:root ${GS_FONTS_PATH} - if ! grep "${GS_FONTS_PATH}" /etc/fonts/local.conf 1> /dev/null 2>&1; then + if ! grep -q "${GS_FONTS_PATH}" /etc/fonts/local.conf; then # Adding Ghostscript fonts directory to local configuration file sed -i -e "s!\(\)! ${GS_FONTS_PATH}\n\1!" \ /etc/fonts/local.conf