forked from osmocom/wireshark
tools: Add --install-all option to some setup scripts
This commit is contained in:
parent
8e77b5c499
commit
1d8f8d620d
|
@ -18,6 +18,7 @@ function print_usage() {
|
||||||
printf "The basic usage installs the needed software\\n\\n"
|
printf "The basic usage installs the needed software\\n\\n"
|
||||||
printf "Usage: %s [--install-optional] [--install-deb-deps] [...other options...]\\n" "$0"
|
printf "Usage: %s [--install-optional] [--install-deb-deps] [...other options...]\\n" "$0"
|
||||||
printf "\\t--install-optional: install optional software as well\\n"
|
printf "\\t--install-optional: install optional software as well\\n"
|
||||||
|
printf "\\t--install-all: install everything\\n"
|
||||||
printf "\\t[other]: other options are passed as-is to apt\\n"
|
printf "\\t[other]: other options are passed as-is to apt\\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,6 +33,9 @@ for arg; do
|
||||||
--install-optional)
|
--install-optional)
|
||||||
ADDITIONAL=1
|
ADDITIONAL=1
|
||||||
;;
|
;;
|
||||||
|
--install-all)
|
||||||
|
ADDITIONAL=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
OPTIONS="$OPTIONS $arg"
|
OPTIONS="$OPTIONS $arg"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -22,6 +22,7 @@ function print_usage() {
|
||||||
printf "\\t--install-test-deps: install packages required to run all tests\\n"
|
printf "\\t--install-test-deps: install packages required to run all tests\\n"
|
||||||
printf "\\t--install-qt5-deps: force installation of packages required to use Qt5\\n"
|
printf "\\t--install-qt5-deps: force installation of packages required to use Qt5\\n"
|
||||||
printf "\\t--install-qt6-deps: force installation of packages required to use Qt6\\n"
|
printf "\\t--install-qt6-deps: force installation of packages required to use Qt6\\n"
|
||||||
|
printf "\\t--install-all: install everything\\n"
|
||||||
printf "\\t[other]: other options are passed as-is to apt\\n"
|
printf "\\t[other]: other options are passed as-is to apt\\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,6 +54,14 @@ for arg; do
|
||||||
--install-qt6-deps)
|
--install-qt6-deps)
|
||||||
ADD_QT6=1
|
ADD_QT6=1
|
||||||
;;
|
;;
|
||||||
|
--install-all)
|
||||||
|
ADDITIONAL=1
|
||||||
|
DEBDEPS=1
|
||||||
|
TESTDEPS=1
|
||||||
|
ADD_QT5=1
|
||||||
|
ADD_QT6=1
|
||||||
|
HAVE_ADD_QT=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
OPTIONS="$OPTIONS $arg"
|
OPTIONS="$OPTIONS $arg"
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -21,6 +21,7 @@ function print_usage() {
|
||||||
printf "\t--install-rpm-deps: install packages required to build the .rpm file\n"
|
printf "\t--install-rpm-deps: install packages required to build the .rpm file\n"
|
||||||
printf "\\t--install-qt5-deps: force installation of packages required to use Qt5\\n"
|
printf "\\t--install-qt5-deps: force installation of packages required to use Qt5\\n"
|
||||||
printf "\\t--install-qt6-deps: force installation of packages required to use Qt6\\n"
|
printf "\\t--install-qt6-deps: force installation of packages required to use Qt6\\n"
|
||||||
|
printf "\\t--install-all: install everything\\n"
|
||||||
printf "\t[other]: other options are passed as-is to the packet manager\n"
|
printf "\t[other]: other options are passed as-is to the packet manager\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,6 +51,13 @@ for arg; do
|
||||||
ADD_QT6=1
|
ADD_QT6=1
|
||||||
HAVE_ADD_QT=1
|
HAVE_ADD_QT=1
|
||||||
;;
|
;;
|
||||||
|
--install-all)
|
||||||
|
ADDITIONAL=1
|
||||||
|
RPMDEPS=1
|
||||||
|
ADD_QT5=1
|
||||||
|
ADD_QT6=1
|
||||||
|
HAVE_ADD_QT=1
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
OPTIONS="$OPTIONS $arg"
|
OPTIONS="$OPTIONS $arg"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in New Issue