Merge pull request #9682 from AFOliveira/codex/replace-yt6801-dkms

Replace YT6801 DKMS driver with upstream support
This commit is contained in:
Erik Melton authored and GitHub committed 2026-09-28 10:27:11 +02:00
commit b2ffea5742
6 files changed
+480 -8

No files matched your search

+9 -2
View File
@@ -8,9 +8,16 @@ installed=()
declare -A installed_exact=()
declare -A selected=()
if ! installed_packages=$(pacman -Qq); then
echo "Unable to query installed packages; no packages were removed." >&2
exit 1
fi
while IFS= read -r package_name; do
installed_exact[$package_name]=1
done < <(pacman -Qq)
if [[ -n $package_name ]]; then
installed_exact[$package_name]=1
fi
done <<< "$installed_packages"
for pkg in "$@"; do
if [[ -n ${installed_exact[$pkg]} && -z ${selected[$pkg]} ]]; then