summarylogtreecommitdiffstats
path: root/natron-plugins.install
diff options
context:
space:
mode:
authorTércio Martins2019-07-31 03:12:59 -0300
committerTércio Martins2019-07-31 03:12:59 -0300
commit39d5bdde2f84ddb1fb0c921fe7ef7eb4312c6b34 (patch)
tree2809c68e41965ca6cfa4631caa551f67878754ff /natron-plugins.install
parent72654d76bd7d72e57e2c6ecb7b0dcb9eabca41e3 (diff)
downloadaur-natron-plugins.tar.gz
Update to version 2.1.7.r1177.g456618b
Diffstat (limited to 'natron-plugins.install')
-rw-r--r--natron-plugins.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/natron-plugins.install b/natron-plugins.install
new file mode 100644
index 000000000000..9b56d221be7d
--- /dev/null
+++ b/natron-plugins.install
@@ -0,0 +1,19 @@
+# The scripts below change the file "Shadertoy.txt"
+# from the openfx-misc package to the version available
+# in natron-plugins.
+
+post_install() {
+ cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
+ cp Shadertoy.txt Shadertoy.txt.original
+ cp Shadertoy.txt.natron-plugins Shadertoy.txt
+}
+
+post_upgrade() {
+ cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
+ cp Shadertoy.txt.natron-plugins Shadertoy.txt
+}
+
+pre_remove() {
+ cd /usr/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Resources/presets/default
+ cp Shadertoy.txt.original Shadertoy.txt
+}