jellyfin / jellyfin-packaging

Jellyfin Packaging and Build Workflows
GNU General Public License v3.0
16 stars 16 forks source link

Refactor arch checking into a function #13

Closed s-t-e-v-e-n-k closed 5 months ago

s-t-e-v-e-n-k commented 5 months ago

Remove some duplicated code by refactoring the architecture checking into a function. The error paths would have also likely resulted in NameErrors being thrown due to function arguments having underscores, so that has been corrected as well.