humbug / phar-updater

A thing to make PHAR self-updates easy and secure
BSD 3-Clause "New" or "Revised" License
368 stars 27 forks source link

Allow checking for updates with an underprivileged user. Resolve Issue #20 #21

Open jxn opened 7 years ago

jxn commented 7 years ago

This PR should delay checking for temp and phar file writability until they actually need to be checked, allowing use of the update check command with a user who cannot write to the phar file. This should close Issue #20

hopeseekr commented 5 years ago

Well, I guess phpoole is basically useless because of this. No way am I going to run it with sudo privs just because this PR isn't merged.

theofidry commented 5 years ago

I don't really understand why phpoole would be useless because of this PR. Just download a newer version available directly or use PHIVE.