Files
coredesktop/updates.d/12-migrations.sh
T
2026-10-21 08:33:19 -06:00

16 lines
514 B
Bash

#!/bin/bash
# Run one-time changes from migrations/ that haven't run on this machine yet.
# This is how machines installed before a change to install.sh catch up, so a
# change that should reach existing machines needs a migration as well. To add
# one, create migrations/$(date +%s).sh; it runs with bash, once, on success.
#
# Runs after 10-pacman.sh so migrations install packages against fresh
# package databases.
COREDESKTOP="$HOME/.local/share/coredesktop"
source "$COREDESKTOP/utils.sh"
run_migrations