summaryrefslogtreecommitdiffstats
path: root/http/xulrunner/UP_TRIGGERS
diff options
context:
space:
mode:
Diffstat (limited to 'http/xulrunner/UP_TRIGGERS')
-rwxr-xr-xhttp/xulrunner/UP_TRIGGERS10
1 files changed, 10 insertions, 0 deletions
diff --git a/http/xulrunner/UP_TRIGGERS b/http/xulrunner/UP_TRIGGERS
new file mode 100755
index 0000000000..44c49dea9f
--- /dev/null
+++ b/http/xulrunner/UP_TRIGGERS
@@ -0,0 +1,10 @@
+# this makes ABI changes automatically cast those that depend on
+# xulrunner via an up_trigger
+
+local OLD_SPELL_VERSION=""
+spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
+if [ "${VERSION}" != "${OLD_SPELL_VERSION}" ]; then
+ for each in $(show_up_depends $SPELL 1); do
+ up_trigger $each cast_self
+ done
+fi