common: 需要安装 bc
This commit is contained in:
parent
37cfe313ee
commit
9003e5cffa
@ -122,6 +122,7 @@ setos() {
|
||||
if is_virt; then
|
||||
# alpine aarch64 3.18 才有 virt 直连链接
|
||||
if [ "$basearch" == aarch64 ]; then
|
||||
install_pkg bc
|
||||
(($(echo "$releasever >= 3.18" | bc))) && flavour=virt
|
||||
else
|
||||
flavour=virt
|
||||
|
Loading…
Reference in New Issue
Block a user