FiraCode
This commit is contained in:
parent
8c4c009de0
commit
9f40ad9187
1 changed files with 15 additions and 0 deletions
15
install-firacode.sh
Executable file
15
install-firacode.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
#
|
||||
set -ex
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root" 1>&2
|
||||
sudo "$0" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# In download.sh
|
||||
for type in Bold Light Medium Regular Retina; do
|
||||
wget -O /usr/share/fonts/TTF/FiraCode-${type}.ttf \
|
||||
"https://github.com/tonsky/FiraCode/blob/master/distr/ttf/FiraCode-${type}.ttf?raw=true";
|
||||
done
|
Loading…
Reference in a new issue