summaryrefslogtreecommitdiff
path: root/pcr/command-not-found/command-not-found.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-07-14 14:29:20 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-07-14 14:29:20 -0500
commited878e1aab0b2c3675d9c2ed1a4ad31e19ef9f40 (patch)
tree4c7b24fba59693994feb0934d49ce732855b0fae /pcr/command-not-found/command-not-found.install
parentcd87cad8f7dbdfccccd9576aec79c5906dfc470e (diff)
downloadabslibre-ed878e1aab0b2c3675d9c2ed1a4ad31e19ef9f40.tar.gz
abslibre-ed878e1aab0b2c3675d9c2ed1a4ad31e19ef9f40.tar.bz2
abslibre-ed878e1aab0b2c3675d9c2ed1a4ad31e19ef9f40.zip
command-not-found-0.6.1-1: updating version
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}
+}