Adjust migration to check for whether fastfetch already has the change or not

This commit is contained in:
David Heinemeier Hansson
2025-07-28 09:58:51 +02:00
parent b1753c1c7c
commit 7589683cd1

View File

@ -1,4 +1,5 @@
echo "Adding Omarchy version info to fastfetch"
if [ -d ~/.config/fastfetch ]; then
cp ~/.local/share/omarchy/config/fastfetch/config.jsonc ~/.config/fastfetch/
fi
if ! grep -q "omarchy" ~/.config/fastfetch/config.jsonc; then
cp ~/.local/share/omarchy/config/fastfetch/config.jsonc ~/.config/fastfetch/
fi