summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/install
diff options
context:
space:
mode:
authorNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-13 13:34:54 -0300
committerNicolás Reynolds <apoyosis@correo.inta.gob.ar>2012-11-13 13:34:54 -0300
commit359b99f193cb2c3b0ea7cad66080c1e81125afb1 (patch)
treee03f36b1af48bbcdcfe662695cd60d905253786a /pcr/command-not-found/install
parentb669c4d23e5797b4bfdd78908fa162caf202ad6f (diff)
parentcf319581703bfe2836e7df909dd5f9c0ab0d54e5 (diff)
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
Diffstat (limited to 'pcr/command-not-found/install')
-rw-r--r--pcr/command-not-found/install14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/command-not-found/install b/pcr/command-not-found/install
new file mode 100644
index 000000000..26f49fa50
--- /dev/null
+++ b/pcr/command-not-found/install
@@ -0,0 +1,14 @@
+post_install() {
+ cnf-sync
+}
+
+post_upgrade() {
+ cnf-sync
+}
+
+pre_remove() {
+ rm -rf /var/lib/cnf/*.db
+ rm -rf /var/lib/cnf/*.tdb
+}
+
+# vim:set ts=2 sw=2 et: