fixes
This commit is contained in:
parent
2f9595394d
commit
c84777a10d
|
@ -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
|
||||
|
|
|
@ -8,3 +8,5 @@ appendpath () {
|
|||
}
|
||||
|
||||
appendpath '${HOME}/.local/bin'
|
||||
export PATH
|
||||
|
||||
|
|
Loading…
Reference in New Issue