mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
19 lines
354 B
Plaintext
19 lines
354 B
Plaintext
infodir=/usr/share/info
|
|
filelist=(imaxima.info maxima.info xmaxima.info)
|
|
|
|
post_install() {
|
|
for file in ${filelist[@]}; do
|
|
install-info $infodir/$file $infodir/dir 2> /dev/null
|
|
done
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install $1
|
|
}
|
|
|
|
pre_remove() {
|
|
for file in ${filelist[@]}; do
|
|
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
|
|
done
|
|
}
|