fix checkmark

This commit is contained in:
James Barnett 2016-08-31 20:35:15 -05:00
parent c6e5f06691
commit a7b017b326

View file

@ -90,16 +90,16 @@ for CONFIG in $SNAPPER_CONFIGS; do
if [[ "$pre_or_post" == "pre" ]]; then if [[ "$pre_or_post" == "pre" ]]; then
$snapper_cmd --description "$PACMAN_PRE_DESCRIPTION" --print-number > "$prefile" $snapper_cmd --description "$PACMAN_PRE_DESCRIPTION" --print-number > "$prefile"
echo -n "$(< "$prefile") " echo -n "$(< "$prefile") "
echo "✓"
elif [[ -f $prefile ]]; then elif [[ -f $prefile ]]; then
postnum=$($snapper_cmd --description "$PACMAN_POST_DESCRIPTION" --print-number --pre-number "$(< "$prefile")") postnum=$($snapper_cmd --description "$PACMAN_POST_DESCRIPTION" --print-number --pre-number "$(< "$prefile")")
echo -n "$postnum " echo -n "$postnum "
echo "✓"
rm "$prefile" rm "$prefile"
else else
echo -e "$WARNINGMSG $prefile does not exist, so no post snapshot will be taken. If you are initially installing snap-pac, this is normal." echo -e "$WARNINGMSG $prefile does not exist, so no post snapshot will be taken. If you are initially installing snap-pac, this is normal."
fi fi
echo "✓"
else else
echo "N/A" echo "N/A"