0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-09 22:45:33 +00:00
Files

13 lines
400 B
Bash
Executable File

#!@TERMUX_PREFIX@/bin/bash
set -e
PREFIX="@TERMUX_PREFIX@"
if [[ -d "${PREFIX}/share/fonts" ]]; then
rm -f "${PREFIX}/share/fonts/.uuid"
for dir in $(find "${PREFIX}/share/fonts" -mindepth 1 -type d -printf '%p/\n'); do
[[ ! -d "${dir}" ]] && continue
rm -f "${dir}/.uuid" "${dir}/fonts.scale" "${dir}/fonts.dir"
rmdir --ignore-fail-on-non-empty "${dir}"
done
fi