summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/install
diff options
context:
space:
mode:
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: