I had the idea to put off Verify_Superuser to later in the InstallPackage process, so you could check for and download packages before needing to escalate privileges. It struck me as silly that I would have to type my root password to be informed "There is no package for that program," or that the URL was a 404. I attached a patch that seems to work for the various cases (URL, local, existing installation, etc.).
If I put it in certain spots in the script, it would cause some repetition in whatever happened just before the Verify_Superuser, which I found confusing... but the spot I put it, that doesn't seem to happen. Maybe someone who actually knows how that function works can either explain that quirk to me and/or check that my patch wouldn't cause some weird problem. Thanks, -Andy
InstallPackage.diff
Description: Binary data
_______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel