bin/install-figlet-fonts @ 46c8ae0df6cc
default tip
More
author |
Steve Losh <steve@stevelosh.com> |
date |
Thu, 30 Jan 2025 09:44:14 -0500 |
parents |
5dd4e6c93b90 |
children |
(none) |
#!/usr/bin/env bash
set -euo pipefail
# I'm so sick of doing this shit by hand every time I get a new computer.
#
# cd ~/src/
# git clont https://github.com/xero/figlet-fonts
for f in /home/sjl/src/figlet-fonts/*.fl*; do
dest="$(echo "$f" | cut -d/ -f 6 | tr '[:upper:] ' '[:lower:]-')"
sudo cp "$f" "/usr/share/figlet/$dest"
done