Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1417)

Unified Diff: src/scripts/customize_rootfs.sh

Issue 465144: Fonts: add DejaVu, AbyssinicaSIL (Closed)
Patch Set: typo Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/package_repo/repo_list_image.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/customize_rootfs.sh
diff --git a/src/scripts/customize_rootfs.sh b/src/scripts/customize_rootfs.sh
index 15dcaba0c7fd3703ec22e53abdef23aae43a8fd3..51583673130ab6a762e8dc1cf697a205ff55a2c5 100755
--- a/src/scripts/customize_rootfs.sh
+++ b/src/scripts/customize_rootfs.sh
@@ -105,11 +105,7 @@ cp -r "${SETUP_DIR}/rootfs_static_data/common/." /
rm /etc/modprobe.d/alsa-base.conf
# Remove unneeded fonts.
-UNNEEDED_FONTS_TYPES=$(ls -d /usr/share/fonts/* | grep -v truetype)
-UNNEEDED_TRUETYPE_FONTS=$(ls -d /usr/share/fonts/truetype/* | grep -v ttf-droid)
-for i in $UNNEEDED_FONTS_TYPES $UNNEEDED_TRUETYPE_FONTS; do
- rm -rf "$i"
-done
+rm -rf /usr/share/fonts/X11
# The udev daemon takes a long time to start up and settle so we defer it until
# after X11 has been started. In order to be able to mount the root file system
« no previous file with comments | « src/package_repo/repo_list_image.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698