Adjust migration to check for whether fastfetch already has the change or not
This commit is contained in:
parent
b1753c1c7c
commit
7589683cd1
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user