core: install_pkg 跳过 windows 环境

This commit is contained in:
bin456789
2023-07-22 22:25:54 +08:00
parent 94cdb26c89
commit 7db0f0775f

View File

@@ -411,6 +411,8 @@ apt_install() {
install_pkg() {
cmds=$*
is_in_windows && return
# arch 需先加载 squashfs 模块
# arch 安装软件时一旦升级了内核,旧的内核文件夹就立即被删除,无法再加载模块
if ! lsmod | grep squashfs; then