summaryrefslogtreecommitdiff
path: root/community/gambit-c/gambit-c.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/gambit-c/gambit-c.install')
-rw-r--r--community/gambit-c/gambit-c.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/gambit-c/gambit-c.install b/community/gambit-c/gambit-c.install
new file mode 100644
index 000000000..ed08d59db
--- /dev/null
+++ b/community/gambit-c/gambit-c.install
@@ -0,0 +1,16 @@
+_infodir=/usr/share/info
+_iinfoargs="$_infodir/gambit-c.info.gz $_infodir/dir"
+
+post_install() {
+ install-info ${_iinfoargs}
+}
+
+post_upgrade() {
+ post_install $@
+}
+
+pre_remove() {
+ install-info --delete ${_iinfoargs}
+}
+
+# vim:set ts=2 sw=2 et: