Score:0

How to get apt Post-Invoke script to run only when a specific package is updated?

us flag

I've added an apt Post-Invoke script in

/etc/apt/apt.conf.d/80update

to run after each apt update.

How can I make it so, my script only runs when a specific package has been updated (or installed), rather than for all invocations of apt update or apt install?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.