Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Copies the Oracle Java fonts to the system.
- #
- # Be sure the JAVA_INST_DIR is set correctly. Run as root.
- #
- # A better version of this would link all the files rather than copy
- # them, but I'm being lazy.
- #
- # Mithat Konar 2011-11-26
- ### config ###
- JAVA_INST_DIR="/opt/java/jre"
- ### end config ###
- mkdir -p /usr/local/share/fonts/truetype/java
- cp -f $JAVA_INST_DIR/lib/fonts/* /usr/local/share/fonts/truetype/java
- fc-cache -fv
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement