summarylogtreecommitdiffstats
path: root/dbeaver-ce.hook
diff options
context:
space:
mode:
authorvs0uz42021-02-09 20:41:26 -0300
committervs0uz42021-02-09 20:41:26 -0300
commitdd70464daacdf6d76561016399c3813128a27b25 (patch)
tree8546af25d87f9d7702ec4f0c7d940fb838a3087a /dbeaver-ce.hook
parentb9d73d91e1d2b2f798f3aadbc39788dc1cc554bb (diff)
downloadaur-dd70464daacdf6d76561016399c3813128a27b25.tar.gz
Initial Commit
Diffstat (limited to 'dbeaver-ce.hook')
-rw-r--r--dbeaver-ce.hook12
1 files changed, 12 insertions, 0 deletions
diff --git a/dbeaver-ce.hook b/dbeaver-ce.hook
new file mode 100644
index 000000000000..1bd9ae668419
--- /dev/null
+++ b/dbeaver-ce.hook
@@ -0,0 +1,12 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = etc/dbeaver-ce/bundles.d/*.info
+
+[Action]
+Description = Updating the DBeaver bundles.info database...
+When = PostTransaction
+Exec = /bin/sh -c '> /etc/dbeaver-ce/bundles.info; cat /etc/dbeaver-ce/bundles.d/*.info > /etc/dbeaver-ce/bundles.info'
+