You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ./dev_setup.sh fails under Peppermint, with the error: Could not find package manager. I think this also happens with many other non-common Debian-based os'.
This happens because the function install_deps() looks for specific os names:
As I recall there were issues with non-debian os's that included apt (or had the possibility to add apt) without it being the primary package manager causing issues. So we couldn't just look at if apt existed on the system.
But maybe that could be added as a fallback? If no supported os was detected check for the specific package managers and try it?
I suggest to add a fallback after all the other if conditions failed, something like
[...]
elif found_exe apt-get
echo "$GREEN Installing packages for other Debian-related distro...$RESET" | tee -a /var/log/mycroft/setup.log
debian_install
The
./dev_setup.sh
fails under Peppermint, with the error:Could not find package manager
. I think this also happens with many other non-common Debian-based os'.This happens because the function
install_deps()
looks for specific os names:why not just search for apt-get tool?
The text was updated successfully, but these errors were encountered: