diff --git a/migrations/1751669258.sh b/migrations/1751669258.sh index ae1d088..fc83f3a 100644 --- a/migrations/1751669258.sh +++ b/migrations/1751669258.sh @@ -1,5 +1,5 @@ echo "Ensure Docker config is set" -if [[ ! -f /etc/docker/daemon.json ]]; do +if [[ ! -f /etc/docker/daemon.json ]]; then sudo mkdir -p /etc/docker echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json fi diff --git a/migrations/1752081300.sh b/migrations/1752081300.sh index 29e42e7..855297d 100644 --- a/migrations/1752081300.sh +++ b/migrations/1752081300.sh @@ -1,5 +1,5 @@ echo "Switching system authentication prompt to dark mode" -if [[ ! -f ~/.config/systemd/user/hyprpolkitagent.service.d/override.conf ]]; do +if [[ ! -f ~/.config/systemd/user/hyprpolkitagent.service.d/override.conf ]]; then source ~/.local/share/omarchy/install/hyprpolkitagent.sh # Reload user systemd and restart service diff --git a/migrations/1752091783.sh b/migrations/1752091783.sh index 7c887ea..c233ee1 100644 --- a/migrations/1752091783.sh +++ b/migrations/1752091783.sh @@ -2,4 +2,7 @@ # Run Plymouth installation script echo "Install Plymouth splash screen" -bash "$HOME/.local/share/omarchy/install/plymouth.sh" +if ! command -v plymouth &>/dev/null; then + yay -S --noconfirm --needed plymouth + bash "$HOME/.local/share/omarchy/install/plymouth.sh" +fi