12 lines
502 B
Bash
12 lines
502 B
Bash
#!/usr/bin/env bash
|
||
# The home-server project produces a multi-purpose setup using Ansible.
|
||
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||
|
||
. "$(dirname "$0")/.etc_checkroot.inc"
|
||
cd /etc
|
||
etckeeper unclean && git stash save --include-untracked "etc_local_unclean $1"
|
||
git checkout master
|
||
git checkout run -- pacman.conf pacman.d/mirrorlist ssh/sshd_config
|
||
etckeeper init
|