mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-25 02:52:16 +08:00
21 lines
371 B
Plaintext
21 lines
371 B
Plaintext
|
infodir=/usr/share/info
|
||
|
filelist=(heimdal hx509)
|
||
|
|
||
|
post_install() {
|
||
|
for file in ${filelist[@]}; do
|
||
|
install-info $infodir/$file.info.gz $infodir/dir 2> /dev/null
|
||
|
done
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install $1
|
||
|
}
|
||
|
|
||
|
pre_remove() {
|
||
|
for file in ${filelist[@]}; do
|
||
|
install-info --delete $infodir/$file.info.gz $infodir/dir 2> /dev/null
|
||
|
done
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 et:
|