This commit is contained in:
teldra 2022-02-09 14:39:58 +01:00
parent 0a28946e1c
commit 0161a8fa0b
1 changed files with 5 additions and 2 deletions

View File

@ -372,7 +372,10 @@ network() {
}
add_arg_pkg() {
addpkg "${@}"
for i in "${@}"
if xbps-query -Rs $t|awk '{print $2}'|grep "^$t"; then
addpkg "${@}"
fi
}
target_phy_disk
@ -380,7 +383,6 @@ target_phy_id
use_efi
encryption_style
hibernation
add_arg_pkg "${@}"
bootloader
user
lang
@ -390,6 +392,7 @@ base
profile
network
printing
add_arg_pkg "${@}"
header "Do installation"
if [ "${DEBUG}" -ge "1" ]; then