summarylogtreecommitdiffstats
path: root/code-marketplace.hook
diff options
context:
space:
mode:
authorSainnhepark2020-10-28 21:55:58 +0800
committerSainnhepark2020-10-28 21:55:58 +0800
commitf8cd96cfb05b48ce0bdd0d8dc3a66c7086f3038f (patch)
treef1e41039139afb13148ff26999f34d3a415abdff /code-marketplace.hook
downloadaur-f8cd96cfb05b48ce0bdd0d8dc3a66c7086f3038f.tar.gz
init
Diffstat (limited to 'code-marketplace.hook')
-rw-r--r--code-marketplace.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/code-marketplace.hook b/code-marketplace.hook
new file mode 100644
index 000000000000..ca596c200585
--- /dev/null
+++ b/code-marketplace.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Operation = Install
+Operation = Upgrade
+Type = Path
+Target = usr/lib/code/product.json
+
+[Action]
+Description = Modifying product.json...
+Exec = /usr/bin/bash -c "/usr/bin/patch /usr/lib/code/product.json < /usr/lib/code/product_json.patch"
+When = PostTransaction