cryinkfly / Autodesk-Fusion-360-for-Linux

This is a project, where I give you a way to use Autodesk Fusion 360 on Linux!
https://github.com/cryinkfly/Fusion-360---Linux-Wine-Version-/wiki
MIT License
1.81k stars 116 forks source link

script guesses distro by package managers before asking *solved* #117

Closed nonchip closed 2 years ago

nonchip commented 2 years ago

on some distros, you can install additional package managers, for example on my Void Linux i have pacman for managing a very specific project, but not as the main package manager (that's done by xbps-install). it's also relatively common to install e.g. apt or dpkg on non-debian-based distros to be able to work with things that were e.g. packaged for ubuntu.

when your script asks to install wmctrl and dialog, it will use the first available package manager it finds (which happens to be pacman in this situation), which then fails.

my suggestion instead would be to:

cryinkfly commented 2 years ago

@nonchip I thank you for this thought and I will check this for the future. :+1:

cryinkfly commented 2 years ago

@nonchip Please have a look at my alpha version! 🙂