This commit is contained in:
teldra 2021-05-12 10:02:05 +02:00
parent 2f9595394d
commit c84777a10d
2 changed files with 4 additions and 1 deletions

View File

@ -63,6 +63,8 @@ if ! btrbk --config="${cfg}" --quiet run "${word}root"; then
exit
fi
test -f /etc/void-snapshot.cfg && . /etc/void-snapshot.cfg
if [[ -z "${NO_UPDATE_GRUB}" ]]; then
if ! update-grub 2> /dev/null; then
echo update-grub failed
@ -71,7 +73,6 @@ if [[ -z "${NO_UPDATE_GRUB}" ]]; then
fi
if [ "${cron}" ]; then
test -f /etc/void-snapshot.cfg && . /etc/void-snapshot.cfg
if [ "${REGULAR_SNAPSHOT_HOME}" ]; then
mkdir -p "/var/lib/backup/quelle/rootfs/system/snapshots/${word}"
if ! btrbk --config="${cfg}" --quiet run "${word}home"; then

View File

@ -8,3 +8,5 @@ appendpath () {
}
appendpath '${HOME}/.local/bin'
export PATH