summaryrefslogtreecommitdiffstats
path: root/net/mugshot/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'net/mugshot/pkg-install')
-rw-r--r--net/mugshot/pkg-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/mugshot/pkg-install b/net/mugshot/pkg-install
new file mode 100644
index 000000000..5233c87bf
--- /dev/null
+++ b/net/mugshot/pkg-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FFUPDATE=${PKG_PREFIX}/share/mugshot/firefox-update.sh
+
+case $2 in
+POST-INSTALL)
+ ${FFUPDATE} install
+ ;;
+PRE-DEINSTALL)
+ killall mugshot
+ ${FFUPDATE} remove
+ ;;
+esac