windvn/mods/firmware-proprietary/modscript

12 lines
374 B
Plaintext
Raw Normal View History

2022-08-04 20:56:02 +00:00
#!/bin/bash
2022-05-20 04:57:08 +00:00
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")
2022-09-26 06:36:42 +00:00
echo "$packages"
2022-05-20 04:57:08 +00:00
}
2022-09-26 06:36:42 +00:00
export WDVN_PACKAGES="$WDVN_PACKAGES firmware-linux firmware-misc-nonfree $(sfp wireless) $(sfp wifi) $(sfp net) $(sfp nic)"