mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-13 18:47:21 +02:00
install: add font cleanup through symlinks -d for /usr/local/share/fonts/ as well
This commit is contained in:
parent
1d75997772
commit
bf830f0878
9
install
9
install
@ -164,6 +164,15 @@ if [ "$(id -u)" == "0" ]; then
|
||||
ln -nsfv $HOME/.shell-things/submodules/serious-sans/SeriousShanns/NerdFontPropo /usr/local/share/fonts/
|
||||
ln -nsfv $HOME/.shell-things/submodules/Inclusive-Sans/fonts/variable /usr/local/share/fonts/Inclusive-Sans
|
||||
fi
|
||||
|
||||
# Font cleanup
|
||||
if hash symlinks 2> /dev/null; then
|
||||
symlinks -d /usr/local/share/fonts/
|
||||
else
|
||||
echo "WARNING! Executable named symlinks not found in PATH."
|
||||
sleep 3
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# Make the submoduled fonts available to the system
|
||||
|
Loading…
x
Reference in New Issue
Block a user