windvn/mods/firmware-proprietary/modscript
2022-09-12 08:49:47 +02:00

11 lines
390 B
Bash
Executable File

#!/bin/bash
function sfp {
packages=""
while read p; do
IFS=" " read -ra packageinfo <<< "$p"
if [[ "${packageinfo[0]}" == *firmware* ]]; then
packages="$packages ${packageinfo[0]}"
fi
done <<<$(apt-cache search "$1")
}
export WDVN_PACKAGES="$WDVN_PACKAGES firmware-linux firmware-misc-nonfree $(sfp wireless) $(sfp wifi) $(sfp net) $(sfp nic) firmware-ipw2x00 firmware-iwlwifi"