summarylogtreecommitdiffstats
path: root/moonray.install
diff options
context:
space:
mode:
Diffstat (limited to 'moonray.install')
-rw-r--r--moonray.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/moonray.install b/moonray.install
new file mode 100644
index 000000000000..ea4039a6a98b
--- /dev/null
+++ b/moonray.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo "Generating Shader Jsons"
+ /opt/moonray/bin/rdl2_json_exporter --out /opt/moonray/shader_json/ --sparse
+}
+
+post_upgrade() {
+ echo "Generating Shader Jsons"
+ /opt/moonray/bin/rdl2_json_exporter --out /opt/moonray/shader_json/ --sparse
+}
+
+post_remove() {
+ rm -r /opt/moonray
+}