franglais125 / apt-update-indicator

Apt Update Indicator
https://extensions.gnome.org/extension/1139/apt-update-indicator/
GNU General Public License v3.0
44 stars 17 forks source link

Check for updates without password prompt #16

Closed HarlemSquirrel closed 7 years ago

HarlemSquirrel commented 7 years ago

In Ubuntu 16.04 I can check for updates with aptdcon --refresh as a normal user. If I enter this as the "Custom command to check for updates" then Apt Update Indicator prompts for my password to run this command with pkexec.

I can install packagekit-tools and then the default aptdcon --refresh works without a password prompt.

It would be nice to have an option to run a custom update check command without pkexec with a checkbox option or simply requiring the user to include pkexec in their command if the command needs it.

franglais125 commented 7 years ago

Hi! Thanks for reporting this. I wasn't aware that some commands didn't require pkexec, hence why I included it by default.

Can you run the master branch to check if the issue is fixed? I included [5c29b2cea9bea3b38a6bd40cd50b60626c3eb10f] as a fix.

Cheers

HarlemSquirrel commented 7 years ago

Sure, I'll check now!

HarlemSquirrel commented 7 years ago

Yup, it's working beautifully!

franglais125 commented 7 years ago

Sounds good! Thank you.

I'll close the issue now and upload a new version to e.g.o soon.