Enlevé configuration inutile des polices dans /etc/fonts/local.conf
[hvlinux.git] / stage5 / pkg / ghostscript
index ac2d5b5..6b4adaf 100644 (file)
@@ -43,13 +43,7 @@ hvbuild_post()
     decompress_package ${GHOSTSCRIPT_FONTS_OTHER} ${GS_FONTS_PATH} 1
     chown -v -R root:root ${GS_FONTS_PATH}
     
-    if ! grep -q "${GS_FONTS_PATH}" /etc/fonts/local.conf; then
-        # Adding Ghostscript fonts directory to local configuration file
-        sed -i -e "s!\(</fontconfig>\)!    <dir>${GS_FONTS_PATH}</dir>\n\1!" \
-            /etc/fonts/local.conf
-    fi
-
-    # Updating cache database.
+    # Updating font information cache.
     fc-cache -f
 
     unset GS_FONTS_PATH