#!/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. MINISERVER="$HOME/.local/share/MiniServer" source "$MINISERVER/utils.sh" run_migrations