~elementary-os/appcenter/cmake-gir

« back to all changes in this revision

Viewing changes to data/90appcenter

  • Committer: Mario Guerriero
  • Date: 2013-03-25 16:38:04 UTC
  • Revision ID: mefrio.g@gmail.com-20130325163804-yv8gpic1nuhm5rp4
added apt-hook to update database every time apt database is updated

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// THIS FILE IS USED TO INFORM APPCENTER
 
2
// THAT THE UPDATE-INFO MIGHT HAVE CHANGED
 
3
 
 
4
// Whenever dpkg is called we might have different updates
 
5
// i.e. if an user removes a package that had an update
 
6
DPkg::Post-Invoke {
 
7
"appcenter -r -v";
 
8
};
 
9
 
 
10
// When Apt's cache is updated (i.e. apt-cache update)
 
11
APT::Update::Post-Invoke-Success {
 
12
"appcenter -r -v";
 
13
};