Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/source-foundry/hack-linux-installer
Install and upgrade the Hack typeface on the Linux platform
https://github.com/source-foundry/hack-linux-installer
font hack installer linux upgrade
Last synced: about 1 month ago
JSON representation
Install and upgrade the Hack typeface on the Linux platform
- Host: GitHub
- URL: https://github.com/source-foundry/hack-linux-installer
- Owner: source-foundry
- License: mit
- Created: 2018-03-09T04:37:33.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-29T16:04:25.000Z (about 5 years ago)
- Last Synced: 2024-11-11T08:47:24.403Z (3 months ago)
- Topics: font, hack, installer, linux, upgrade
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 22
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Hack font installer for Linux
[![Build Status](https://semaphoreci.com/api/v1/sourcefoundry/hack-linux-installer/branches/master/badge.svg)](https://semaphoreci.com/sourcefoundry/hack-linux-installer)
### An install and upgrade script for the Hack typeface on the Linux platform
The [`hack-linux-installer.sh` shell script](https://github.com/source-foundry/hack-linux-installer/blob/master/hack-linux-installer.sh) installs fonts from the [Hack typeface repository](https://github.com/source-foundry/Hack) at a requested release version number on the Linux platform. This script can be used for initial font installs and upgrades to new versions (or downgrades if ever necessary).
#### Download and modify permissions
```
$ curl -L -O https://raw.githubusercontent.com/source-foundry/hack-linux-installer/master/hack-linux-installer.sh
$ chmod +x hack-linux-installer.sh
```#### Usage
```
$ ./hack-linux-installer.sh [VERSION]
```Define the version number with the format `vX.XXX`. You must use a lowercase `v` followed by the version number string that is used in the repository releases.
For example, install Hack v3.003 with the following command:
```
$ ./hack-linux-installer.sh v3.003
```Alternatively, you can use the installer to install the latest version like so:
```
$ ./hack-linux-installer.sh latest
```#### What it does
- The release archive is pulled from the repository release
- The release archive is unpacked
- The fonts are installed on the path `$HOME/.local/share/fonts`
- The font cache is cleared and regenerated
- `fc-list | grep "Hack"` is executed to display the installed font paths. You should see expected install filepaths with this command.