Tools: Make the Alpine and Arch setup scripts more strict.
Make sure alpine-setup.sh and arch-setup.sh fail with a nonzero status similar to debian-setup.sh and rpm-setup.sh.
This commit is contained in:
parent
05c86efcf6
commit
6900065f2d
|
@ -11,6 +11,8 @@
|
|||
# that way.
|
||||
#
|
||||
|
||||
set -e -u -o pipefail
|
||||
|
||||
if [ "$1" = "--help" ]
|
||||
then
|
||||
printf "\\nUtility to setup a alpine system for Wireshark Development.\\n"
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
# that way.
|
||||
#
|
||||
|
||||
set -e -u -o pipefail
|
||||
|
||||
if [ "$1" = "--help" ]
|
||||
then
|
||||
printf "\\nUtility to setup a pacman-based system for Wireshark development.\\n"
|
||||
|
@ -112,7 +114,7 @@ then
|
|||
fi
|
||||
|
||||
# Partial upgrades are unsupported.
|
||||
pacman -Syu --needed $ACTUAL_LIST $OPTIONS || exit 2
|
||||
pacman --sync --refresh --needed $ACTUAL_LIST $OPTIONS || exit 2
|
||||
|
||||
if [ $ADDITIONAL -eq 0 ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue