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

Unified Diff: build/install-build-deps.sh

Issue 13532003: Installing Chrome OS fonts fails when repo is on filer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: update Created 7 years, 9 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/install-build-deps.sh
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index f2c1257a13f211732610d1d1811ee04447978f6a..61f2de9aa4966bb9f84ec00bb4af3cd58cf75ff7 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -206,8 +206,15 @@ fi
# Install the Chrome OS default fonts.
if test "$do_inst_chromeos_fonts" != "0"; then
+ echo
echo "Installing Chrome OS fonts."
dir=`echo $0 | sed -r -e 's/\/[^/]+$//'`
+ if test `stat -f -c %T $dir | cut -b 1-3` != "ext"; then
+ echo "Warning: Your Repo appears to be on a Filer and not on a local file"
Jorge Lucangeli Obes 2013/04/04 02:33:44 nit: no caps: "repo"
Jorge Lucangeli Obes 2013/04/04 02:33:44 "Filer" -> "remote file system" not everybody comp
sschmitz 2013/04/04 14:51:31 Done.
sschmitz 2013/04/04 14:51:31 Done.
+ echo "system. This is not recommended. The following may silently fail."
+ echo "To avoid this failure, you can run (at your own risk) with the"
+ echo "command line option --no-chromeos-fonts."
+ fi
sudo $dir/linux/install-chromeos-fonts.py
else
echo "Skipping installation of Chrome OS fonts."
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698