default package in eigene variable ausgelagert

This commit is contained in:
eichehome 2023-12-20 06:09:23 +01:00
parent 97717d914b
commit efcad32453

View file

@ -49,6 +49,7 @@ pacman_args=()
pacmode=-Sy pacmode=-Sy
copyconf=0 copyconf=0
pacman_config=/etc/pacman.conf pacman_config=/etc/pacman.conf
default_package="base"
usage() { usage() {
cat <<EOF cat <<EOF
@ -68,7 +69,7 @@ usage: $(basename "$0") [options] root [packages...]
-h Print this help message -h Print this help message
$(basename "$0") installs packages to the specified new root directory. If no packages $(basename "$0") installs packages to the specified new root directory. If no packages
are given, $(basename "$0") defaults to the "base" group. are given, $(basename "$0") defaults to the "$default_package" package/group.
EOF EOF
} }