summarylogtreecommitdiffstats
path: root/command-not-found.install
diff options
context:
space:
mode:
Diffstat (limited to 'command-not-found.install')
-rw-r--r--command-not-found.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/command-not-found.install b/command-not-found.install
new file mode 100644
index 000000000000..26f49fa50086
--- /dev/null
+++ b/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: