From 864756c815bf8fedaf0c8299b1d54a970ebda5a3 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 29 Nov 2024 22:20:31 -0500 Subject: [PATCH] Remove --skip-unavailable for dnf5 --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index d2ed2fd..b458838 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -101,7 +101,7 @@ init() { # Set distro-specific functions case "$ID" in - fedora|centos) pkg_install(){ sudo "$RPM_MGR" install --skip-unavailable -y "$@"; } ;; + fedora|centos) pkg_install(){ sudo "$RPM_MGR" install -y "$@"; } ;; debian|ubuntu) pkg_install(){ sudo apt-get install --ignore-missing -y -q0 "$@"; } ;; suse) pkg_install(){ sudo zypper --non-interactive -q install --force --no-confirm "$@"; } ;; arch) pkg_install(){ sudo pacman -S --noconfirm --needed "$@"; } ;;