From e9a5cf31afc3078a7e11e8f7d38aa8065ba1334b Mon Sep 17 00:00:00 2001 From: James Barnett Date: Tue, 14 Feb 2017 11:21:00 -0600 Subject: [PATCH] formatting --- man8/snap-pac.8 | 8 ++++---- scripts/snap-pac | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/man8/snap-pac.8 b/man8/snap-pac.8 index 37b72ee..b5a3268 100644 --- a/man8/snap-pac.8 +++ b/man8/snap-pac.8 @@ -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 diff --git a/scripts/snap-pac b/scripts/snap-pac index da453b2..4e23f0d 100755 --- a/scripts/snap-pac +++ b/scripts/snap-pac @@ -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"