On 9/26/19 7:12 PM, igo95862 wrote:
> Often when compiling large packages I find myself missing the "sudo"
> promt to install compiled package.
> 
> I have thought of a solution using notify-send command from
> community/inotify-tools package that will send a notification when the
> package finishes compiling. (but before install)
> 
> Could be implemented as an opt-in option in makepkg.conf
> 
> If you are interested I can send a patch.

Sounds like your /etc/sudoers is misconfigured, try setting
passwd_timeout to something else.

Alternatively, even if pacman exited with a failure to install the built
package, you can always run makepkg -i again -- pacman will detect the
built package and go straight to offering to install it. You could also
generally avoid using makepkg -i to build, but simply use:

makepkg && notify-send ... && makepkg --packagelist | sudo pacman -U -

Store this as a small shellscript called "makepkg-notify".

-- 
Eli Schwartz
Bug Wrangler and Trusted User

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to