This commit is contained in:
teldra 2021-05-12 16:19:55 +02:00
parent ecdfc85420
commit 73b8dcc14e
1 changed files with 9 additions and 1 deletions

View File

@ -10,10 +10,18 @@ if [[ "${#ignorepkg[@]}" -gt 0 ]]; then
done
fi
for i in ${pkg[@]}; do
for j in ${removepkg[@]}; do
if [[ "${i}" == "${j}" ]]; then
continue 2
fi
done
toinstall+=( "$i" )
done
mkdir -p "${dest}"/var/db/xbps
cp -rf /var/db/xbps/keys/ "${dest}"/var/db/xbps
inst base-system
inst base-system "${toinstall[@]}"
module end