summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/guile/guile.install
blob: 8fab0b1d3baff3877c380d55519f3831fb2d3cec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
files=(goops.info
       guile-tut.info
       guile.info
       guile.info-1
       guile.info-2
       guile.info-3
       guile.info-4
       guile.info-5
       guile.info-6
       guile.info-7
       r5rs.info)

post_install() {
  for f in "${files[@]}"; do
    install-info usr/share/info/${f}.gz usr/share/info/dir 2>/dev/null
  done
}

post_upgrade() {
  post_install $1
}

pre_remove() {
  for f in "${files[@]}"; do
    install-info --delete usr/share/info/${f}.gz usr/share/info/dir 2> /dev/null
  done
}