fix checkmark
This commit is contained in:
parent
c6e5f06691
commit
a7b017b326
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue