core: dnf 不安装弱依赖

This commit is contained in:
bin456789 2023-07-30 00:30:06 +08:00
parent 63df74dbdc
commit 2307d6df75
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -487,7 +487,7 @@ install_pkg() {
done done
{ {
apt_install $pkgs || apt_install $pkgs ||
dnf install -y $pkgs || dnf install -y --setopt=install_weak_deps=False $pkgs ||
yum install -y $pkgs || yum install -y $pkgs ||
zypper install -y $pkgs || zypper install -y $pkgs ||
pacman -Syu --noconfirm $pkgs || pacman -Syu --noconfirm $pkgs ||