Compare commits

...

2 commits

Author SHA1 Message Date
eichehome 4a25bb15fd typo fix 2023-12-20 06:09:53 +01:00
eichehome efcad32453 default package in eigene variable ausgelagert 2023-12-20 06:09:23 +01:00

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
} }
@ -123,7 +124,7 @@ while getopts ':C:cDGiKMNPU' flag; do
case $flag in case $flag in
C) C)
pacman_config=$OPTARG pacman_config=$OPTARG
;;bootstrap ;;
D) D)
pacman_args+=(-dd) pacman_args+=(-dd)
;; ;;