canonical / python-libmaas

Unofficial python client library for MAAS
https://maas.io
Other
63 stars 71 forks source link

Makefile not working in master #256

Closed erik78se closed 9 months ago

erik78se commented 3 years ago

https://github.com/maas/python-libmaas/blob/1f6378049e8f3cc8a43941ae0e4a02b5f8afc3c7/doc/index.md

Failure....

erik@node:~/allcode/python-libmaas$ make
if [ -x /usr/bin/snap ]; then sudo snap install --classic snapcraft; fi
[sudo] password for erik: 

This code breaks the make since it states that if the file is executable, then install.

It should be the other way around...

# ---
install-dependencies:
        if [ -x /usr/bin/snap ]; then sudo snap install --classic snapcraft; fi
# ---
r00ta commented 9 months ago

Not a bug