improve spacing
This commit is contained in:
parent
9625951a11
commit
97dfcebeeb
1 changed files with 4 additions and 4 deletions
|
|
@ -24,8 +24,8 @@ set -e
|
||||||
|
|
||||||
SNAPPER_CONFIG_FILE=/etc/conf.d/snapper
|
SNAPPER_CONFIG_FILE=/etc/conf.d/snapper
|
||||||
|
|
||||||
ERRORMSG="\033[00;31mERROR:\033[00m"
|
ERRORMSG=" \033[00;31mERROR:\033[00m"
|
||||||
WARNINGMSG="\033[00;33mWARNING:\033[00m"
|
WARNINGMSG=" \033[00;33mWARNING:\033[00m"
|
||||||
|
|
||||||
PACMAN_ABORT_ON_FAIL="no"
|
PACMAN_ABORT_ON_FAIL="no"
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@ if [[ $1 != "pre" ]] && [[ $1 != "post" ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$SNAPPER_CONFIGS" ]]; then
|
if [[ -z "$SNAPPER_CONFIGS" ]]; then
|
||||||
echo -e "$WARNINGMSG No snapper configurations found, so not taking any snapshots!"
|
echo -e "$ERRORMSG No snapper configurations found, so not taking any snapshots!"
|
||||||
if [[ $PACMAN_ABORT_ON_FAIL == "yes" ]]; then
|
if [[ $PACMAN_ABORT_ON_FAIL == "yes" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
@ -131,7 +131,7 @@ for CONFIG in $SNAPPER_CONFIGS; do
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $x -eq 0 ]]; then
|
if [[ $x -eq 0 ]]; then
|
||||||
echo -e "$WARNINGMSG No snapper configurations are set up for snapshots to be taken!"
|
echo -e "$ERRORMSG No snapper configurations are set up for snapshots to be taken!"
|
||||||
if [[ $PACMAN_ABORT_ON_FAIL == "yes" ]]; then
|
if [[ $PACMAN_ABORT_ON_FAIL == "yes" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue