Skip to content

Instantly share code, notes, and snippets.

@Anan5a
Last active October 25, 2018 13:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Anan5a/ef28bda9b75755e9af15c889e26f3240 to your computer and use it in GitHub Desktop.
Save Anan5a/ef28bda9b75755e9af15c889e26f3240 to your computer and use it in GitHub Desktop.
#!/usr/bin/sh
echo "UniBnFonts (https://github.com/r-not/unibnfonts) installer by Anan5a(https://github.com/Anan5a"
echo "Run this script as root. not sudo!"
dir='/usr/share/fonts/ubf'
file='ubf_zzzffff000x111.tar.gz'
mkdir -p $dir
echo "Downloading font..."
wget -q -O $HOME/$file https://github.com/r-not/unibnfonts/archive/master.tar.gz
echo "Extracting/Installing font"
tar -xzf $HOME/$file -C $dir
echo "Deleting temporary file..."
rm $HOME/$file
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment