summaryrefslogtreecommitdiff
path: root/~brendan/guile/guile.install
diff options
context:
space:
mode:
Diffstat (limited to '~brendan/guile/guile.install')
-rw-r--r--~brendan/guile/guile.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/~brendan/guile/guile.install b/~brendan/guile/guile.install
new file mode 100644
index 000000000..ed113ab8f
--- /dev/null
+++ b/~brendan/guile/guile.install
@@ -0,0 +1,23 @@
+infodir=usr/share/info
+filelist=(guile.info
+ r5rs.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+}
+
+# vim:set ts=2 sw=2 et: