summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/command-not-found.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/command-not-found/command-not-found.install')
-rw-r--r--pcr/command-not-found/command-not-found.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/command-not-found/command-not-found.install b/pcr/command-not-found/command-not-found.install
new file mode 100644
index 000000000..a31ac971c
--- /dev/null
+++ b/pcr/command-not-found/command-not-found.install
@@ -0,0 +1,11 @@
+post_install() {
+ cnf-sync
+}
+
+post_upgrade() {
+ cnf-sync
+}
+
+pre_remove() {
+ rm -rf /var/lib/cnf/*.{db,tbd}
+}