summarylogtreecommitdiffstats
path: root/oleo.install
blob: 93709eab0fdc89e75fa602a08e005f9fe0962d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
infodir=usr/share/info

post_install() {
    for file in oleo.info{,-1,-2,-3,-4}; do
        install-info $infodir/$file $infodir/dir 2> /dev/null
    done
    install-info --entry="* Oleo: (oleo). A lightweight spreadsheet program" \
        $infodir/oleo.info $infodir/dir
}

post_upgrade() {
    post_install
}

pre_remove() {
    for file in oleo.info{,-1,-2,-3,-4}; do
        install-info --delete $infodir/$file $infodir/dir 2> /dev/null
    done
}