summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/install
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-18 01:56:34 +0000
commit8185891e28635bdb83fdf4ba4391030912dae596 (patch)
tree66a946535bdd228514750233b2cc99dd1866ff64 /pcr/command-not-found/install
parent60a11f87366fdfbd114cdc91ff813518858e5f8d (diff)
Tue Feb 18 01:56:27 UTC 2014
Diffstat (limited to 'pcr/command-not-found/install')
-rw-r--r--pcr/command-not-found/install13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/command-not-found/install b/pcr/command-not-found/install
new file mode 100644
index 000000000..50e601258
--- /dev/null
+++ b/pcr/command-not-found/install
@@ -0,0 +1,13 @@
+post_install() {
+ cnf-sync
+}
+
+post_upgrade() {
+ cnf-sync
+}
+
+pre_remove() {
+ rm -f /var/lib/cnf/*.{db,tbd}
+}
+
+# vim:set ts=2 sw=2 et: