From 4eb485abfd78c1323a47695307ee05fdc535df25 Mon Sep 17 00:00:00 2001
From: Eric Bremner <ebremner@uwaterloo.ca>
Date: Thu, 16 Jun 2022 11:12:39 -0400
Subject: [PATCH] ISTWCMS-5637: adding script to get the fonts

---
 get_fonts.sh | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100755 get_fonts.sh

diff --git a/get_fonts.sh b/get_fonts.sh
new file mode 100755
index 00000000..a467c5f1
--- /dev/null
+++ b/get_fonts.sh
@@ -0,0 +1,12 @@
+echo "*************************************************************************"
+echo "Getting fonts ..."
+if [[ -d ../../../../../config/fonts ]]; then
+  if [[ -d dist/fonts ]]; then
+    rm -rf dist/fonts/*
+  fi
+  cp ../../../../../config/fonts/* dist/fonts
+else
+  echo "Error: there are no fonts installed, run ./setup_site.sh"
+fi
+echo "Done getting fonts ..."
+echo "*************************************************************************"
-- 
GitLab