formatting

This commit is contained in:
James Barnett 2017-02-14 11:21:00 -06:00
parent ea299e2b8a
commit e9a5cf31af
No known key found for this signature in database
GPG key ID: E4B5E45AA3B8C5C3
2 changed files with 6 additions and 6 deletions

View file

@ -99,13 +99,13 @@ Installing the nano package as normal:
(1/1) checking for file conflicts [######################################] 100%
(1/1) checking available disk space [######################################] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots...
root 1033
(1/1) Performing snapper pre snapshots for the following configurations...
root: 1033
:: Processing package changes...
(1/1) installing nano [######################################] 100%
:: Running post-transaction hooks...
(1/1) Performing snapper post snapshots...
root 1034
(1/1) Performing snapper post snapshots for the following configurations...
root: 1034
.EE

View file

@ -88,9 +88,9 @@ for CONFIG in $SNAPPER_CONFIGS; do
x=$((x+1))
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
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"
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"