core: dnf 不安装弱依赖
This commit is contained in:
parent
63df74dbdc
commit
2307d6df75
@ -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 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user