Improve / remove root usage
APT repository for Mozilla software releases
Brought to you by:
nanotube
Trying out the packaging script myself, I found that after it did the GPG work, I got a sudo prompt. Being the paranoid sort, I stopped right there. Of course, I took a look and it isn't doing anything sneaky, but it also isn't doing anything that should really require root access.
Ideally it would be nice if the app used fakeroot instead of sudo to do the little bits it needed, or at least recognized if it was already running within fakeroot and skipped both the "root is dangerous" warning and the attempted usage of sudo.
FWIW, I tried removing all the sudo bits from the system exec calls and running the whole thing under fakeroot, and it worked fine :)
Hi,
Thanks for your comment! I didn't think anyone would be interested in running the packaging script directly, instead of just using the repo :).
Yes, running under fakeroot should be fine, probably preferable, but since I figured I'm the only one actually running the script, and I wrote it, I'm fine using sudo. :)
Are you planning on using this on a regular basis to maintain your own repo? Or were you just checking it out?
I was partly curious about the script, and partly curious about the new Thunderbird build that (at the time) wasn't uploaded here yet, because I thought it had security updates (which it looks like actually it did not).