From 539f6f4adb55618867cc51cdb129ab1ec12b2d8c Mon Sep 17 00:00:00 2001 From: arijitlaik Date: Thu, 11 Aug 2016 04:44:11 +0530 Subject: [PATCH 1/2] update unzip filenames the unzip command used filenames from the previous urls the new urls have different file names, this fixes the script --- docker/getFiraFont.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/getFiraFont.sh b/docker/getFiraFont.sh index 2b3cb48..b8255c4 100755 --- a/docker/getFiraFont.sh +++ b/docker/getFiraFont.sh @@ -9,8 +9,8 @@ sudo apt-get install unzip -y wget "http://www.carrois.com/downloads/fira_4_1/FiraFonts4106.zip" wget "http://www.carrois.com/downloads/fira_mono_3_2/FiraMonoFonts3206.zip" -unzip FiraSans4106.zip -unzip FiraMono3206.zip +unzip FiraFonts4106.zip +unzip FiraMonoFonts3206.zip sudo mkdir -p /usr/share/fonts/truetype/FiraSans sudo mkdir -p /usr/share/fonts/opentype/FiraSans From 44a40e694fbc4a22e6a522a2ecc899656e226163 Mon Sep 17 00:00:00 2001 From: arijitlaik Date: Thu, 11 Aug 2016 04:51:20 +0530 Subject: [PATCH 2/2] update the TTF file copy command --- docker/getFiraFont.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/getFiraFont.sh b/docker/getFiraFont.sh index b8255c4..0fedd36 100755 --- a/docker/getFiraFont.sh +++ b/docker/getFiraFont.sh @@ -14,7 +14,7 @@ unzip FiraMonoFonts3206.zip sudo mkdir -p /usr/share/fonts/truetype/FiraSans sudo mkdir -p /usr/share/fonts/opentype/FiraSans -sudo cp Fira*/WEB/*.ttf /usr/share/fonts/truetype/FiraSans/ +sudo cp Fira*/WEB/TTF/*.ttf /usr/share/fonts/truetype/FiraSans/ sudo cp Fira*/OTF/Fira* /usr/share/fonts/opentype/FiraSans/ sudo fc-cache -fv