bitfocus / companion-pi

Bitfocus Companion enables the reasonably priced Elgato Streamdeck to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
MIT License
28 stars 8 forks source link

batch install apt packages #19

Open cprima opened 1 year ago

cprima commented 1 year ago

Saw the comment in https://github.com/bitfocus/companion-pi/blob/790bd6478c89891cc19b36da2f79b74fb7a847ab/update.sh#L176C38-L176C38

Future: batch the installs, if there are multiple

and thought to chime in with a pull request.

This code change was tested on a Raspberry Pi with DietPi and the function itself on Windows 11 in a WSL installation. dpkg -l or dpkg --list is a slightly more robust version than dpkg --verify as is lists installed packages, instead of those with altered files.

github.com/bitfocus/companion-pi/ only has a main branch, so I am issuing this pull request against main. Feel free to reject for that (or other) reasons!

BR Christian

Julusian commented 1 year ago

Thanks for this. I don't have all that much experience in writing bash, so I am happy to have some help :)

tedzstonz2000 commented 10 months ago

totally confused sorry but thanks