DRGN-DRC / 20XX-HACK-PACK

A full-game enhancement to the hit GameCube game, Super Smash Bros. Melee.
63 stars 5 forks source link

Added check for common package managers instead of assuming apt-get #6

Closed Nosen92 closed 1 year ago

Nosen92 commented 1 year ago

The linux install script assumed that the package manager always was apt-get. Instead of hardcoding for apt-get, the script now checks for common package managers and uses the one it can find.

The compatible package managers are:

which should cover almost all linux machines. More can easily be added in the future.

Minor tweak: Changed (y/n) to (y/N) to highlight default.

DRGN-DRC commented 1 year ago

Looks like a good change. I assume you've tested the script when using these other managers?

Before merging, do you want to add yourself to the credits at the bottom of the ReadMe and MD5s.txt file?

Nosen92 commented 1 year ago

Sure, I'll do that