updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / lilypond-git / lilypond-git.install
blob1d96bd28fdf6ca6a362cb56d6a7b3f08b6e33b90
1 infodir=usr/share/info
2 filelist=(lilypond-changes
3           lilypond-contributor
4           lilypond-essay
5           lilypond-extending
6           lilypond-internals
7           lilypond-learning
8           lilypond-notation
9           lilypond-usage
10           lilypond-web
11           music-glossary)
13 post_install() {
14   [ -x usr/bin/install-info ] || return 0
15   for file in ${filelist[@]}; do
16     install-info $infodir/$file.info $infodir/dir 2> /dev/null
17   done
20 post_upgrade() {
21   post_install $1
24 pre_remove() {
25   [ -x usr/bin/install-info ] || return 0
26   for file in ${filelist[@]}; do
27     install-info --delete $infodir/$file.info $infodir/dir 2> /dev/null
28   done
31 # vim:set ts=2 sw=2 et: