summaryrefslogtreecommitdiff
path: root/testing/mjpegtools/mjpegtools.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-31 23:14:57 +0000
committerroot <root@rshg054.dnsready.net>2012-01-31 23:14:57 +0000
commitc34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch)
tree2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /testing/mjpegtools/mjpegtools.install
parent902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff)
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'testing/mjpegtools/mjpegtools.install')
-rw-r--r--testing/mjpegtools/mjpegtools.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/mjpegtools/mjpegtools.install b/testing/mjpegtools/mjpegtools.install
new file mode 100644
index 000000000..4d1231686
--- /dev/null
+++ b/testing/mjpegtools/mjpegtools.install
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file=mjpeg-howto.info
+
+post_install() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [[ -x usr/bin/install-info ]] || return 0
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+}