Compare commits
2 commits
97717d914b
...
4a25bb15fd
Author | SHA1 | Date | |
---|---|---|---|
4a25bb15fd | |||
efcad32453 |
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue