formatting
This commit is contained in:
parent
ea299e2b8a
commit
e9a5cf31af
2 changed files with 6 additions and 6 deletions
|
|
@ -99,13 +99,13 @@ Installing the nano package as normal:
|
||||||
(1/1) checking for file conflicts [######################################] 100%
|
(1/1) checking for file conflicts [######################################] 100%
|
||||||
(1/1) checking available disk space [######################################] 100%
|
(1/1) checking available disk space [######################################] 100%
|
||||||
:: Running pre-transaction hooks...
|
:: Running pre-transaction hooks...
|
||||||
(1/1) Performing snapper pre snapshots...
|
(1/1) Performing snapper pre snapshots for the following configurations...
|
||||||
root 1033
|
root: 1033
|
||||||
:: Processing package changes...
|
:: Processing package changes...
|
||||||
(1/1) installing nano [######################################] 100%
|
(1/1) installing nano [######################################] 100%
|
||||||
:: Running post-transaction hooks...
|
:: Running post-transaction hooks...
|
||||||
(1/1) Performing snapper post snapshots...
|
(1/1) Performing snapper post snapshots for the following configurations...
|
||||||
root 1034
|
root: 1034
|
||||||
|
|
||||||
.EE
|
.EE
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,9 +88,9 @@ for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
x=$((x+1))
|
x=$((x+1))
|
||||||
|
|
||||||
if [[ "$pre_or_post" == "pre" ]]; then
|
if [[ "$pre_or_post" == "pre" ]]; then
|
||||||
printf "==> %s $($snapper_cmd "$(truncate_description $PACMAN_PRE_DESCRIPTION)" | tee "$prefile")\n" "$CONFIG"
|
printf "==> %s: $($snapper_cmd "$(truncate_description $PACMAN_PRE_DESCRIPTION)" | tee "$prefile")\n" "$CONFIG"
|
||||||
elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then
|
elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then
|
||||||
printf "==> %s $($snapper_cmd "$(truncate_description $PACMAN_POST_DESCRIPTION)" --pre-number "$(< "$prefile")")\n" "$CONFIG"
|
printf "==> %s: $($snapper_cmd "$(truncate_description $PACMAN_POST_DESCRIPTION)" --pre-number "$(< "$prefile")")\n" "$CONFIG"
|
||||||
rm -f "$prefile"
|
rm -f "$prefile"
|
||||||
elif [[ ! -f $prefile && "$pre_or_post" == "post" ]]; then
|
elif [[ ! -f $prefile && "$pre_or_post" == "post" ]]; then
|
||||||
warning "%s does not exist, so no post snapshot for %s will be taken. If you are initially installing $name, this is normal." "$prefile" "$CONFIG"
|
warning "%s does not exist, so no post snapshot for %s will be taken. If you are initially installing $name, this is normal." "$prefile" "$CONFIG"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue