Open springmeyer opened 12 years ago
I see pkexec was added in https://github.com/mapbox/tilemill/commit/fb137dc674b1ed2f3c528833dc9264bc715784fa#diff-6
ping @willwhite - can you comment on this? /cc @tmcw
I was not anticipating this script being used on a server dist so I figured pkexec was acceptable. Do you think that's an ok assumption? If not, I can add a check and revert to sudo or something.
I run tilemill on my server and just hit this issue right now (just provided as a data point).
Just for the record, in case others get here via google, sudo apt-get install policykit-1
will get you pkexec.
+1 @llimllib, this also did the trick for me.
I hit this right now. Wouldn't it be a great idea to switch to sudo?
Testing the recommended ubuntu install route fails.
Running as root on oneric server linode instance to get a clean instance to test on.
Do we need to catch and throw if user is trying to install on a non-desktop dist?