Fix update for Flatpak. (#8)

* Change to 2 spaced indent.

* Change flatpak to never "fail" so that update can be run on servers as well.

* Change indent to 2 spaces.

* Be fancier than an always-true.
This commit is contained in:
2021-08-14 12:43:42 -05:00
committed by GitHub
parent 37c5b122f8
commit 89961ad08f
4 changed files with 21 additions and 14 deletions

View File

@ -120,8 +120,8 @@
PROG=$FUNCNAME
usage="Usage: $PROG [-y]
$PROG is used to run all the system's package manager commands
in one swoop. Flow stops if any command returns a failure code.
The hope is to run something as easy as 'pacman -Syyu'.
in one swoop. Flow stops if any command returns a failure code.
The hope is to run something as easy as 'pacman -Syyu'.
-y : Assume yes to any prompts."
unset OPTIND
@ -140,7 +140,7 @@
{{ update_flatpak }}
return 0
echo "$PROG experienced a problem and has aborted."
echo "ERROR: $PROG experienced a problem and has aborted."
return 1
}