From ecc4d4938bbfc63512f83feeaa74ca1ce1f8c819 Mon Sep 17 00:00:00 2001 From: SolidHal Date: Tue, 30 Oct 2018 20:03:57 +0000 Subject: [PATCH] Package in the source-code-pro font for spacemacs --- resources/InstallResources/fonts/source-code-pro | 1 + scripts/InstallScripts/InstallPackages.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 160000 resources/InstallResources/fonts/source-code-pro diff --git a/resources/InstallResources/fonts/source-code-pro b/resources/InstallResources/fonts/source-code-pro new file mode 160000 index 0000000..e99ed3b --- /dev/null +++ b/resources/InstallResources/fonts/source-code-pro @@ -0,0 +1 @@ +Subproject commit e99ed3b714cd2b3c0d5ac8cc45fd8181d79c0d0b diff --git a/scripts/InstallScripts/InstallPackages.sh b/scripts/InstallScripts/InstallPackages.sh index b1aef9e..37edb5d 100755 --- a/scripts/InstallScripts/InstallPackages.sh +++ b/scripts/InstallScripts/InstallPackages.sh @@ -72,6 +72,11 @@ then cp $DIR/firefox-esr/prawn-settings.js /usr/lib/firefox-esr/defaults/pref/ cp $DIR/firefox-esr/prawn.cfg /usr/lib/firefox-esr/ + #Install the source code pro font for spacemacs + [ -d /usr/share/fonts/opentype ] || mkdir /usr/share/fonts/opentype + cp -rf $DIR/fonts/* /usr/share/fonts/opentype/ + fc-cache + #Install xmodmap map, autostart cp -rf $DIR/xfce-config/xmodmap/.Xmodmap /etc/skel/ cp -rf $DIR/xfce-config/xmodmap/.xinitrc /etc/skel/