From 02134df8eeebf020fb65f6844594d576c28f4033 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 24 Aug 2025 18:01:39 +0200 Subject: [PATCH] Quarantine AUR installs --- migrations/1753908454.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/migrations/1753908454.sh b/migrations/1753908454.sh index fdbde67f..d2551b89 100644 --- a/migrations/1753908454.sh +++ b/migrations/1753908454.sh @@ -1,12 +1,14 @@ echo "Migrate from manually downloaded fonts to font packages" -if ! yay -Q ttf-cascadia-mono-nerd &>/dev/null; then - yay -S --noconfirm ttf-cascadia-mono-nerd +if ! pacman -Q ttf-cascadia-mono-nerd &>/dev/null; then + sudo pacman -S --noconfirm ttf-cascadia-mono-nerd rm -rf ~/.local/share/fonts/Caskaydia* fc-cache fi -if ! yay -Q ttf-ia-writer &>/dev/null; then - yay -S --noconfirm ttf-ia-writer - rm -rf ~/.local/share/fonts/iAWriterMonoS* - fc-cache +if omarchy-aur-accessible; then + if ! yay -Q ttf-ia-writer &>/dev/null; then + yay -S --noconfirm ttf-ia-writer + rm -rf ~/.local/share/fonts/iAWriterMonoS* + fc-cache + fi fi