mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
472 B
Text
22 lines
472 B
Text
|
infodir=/usr/share/info
|
||
|
filelist=(qingy.info.gz)
|
||
|
|
||
|
post_install() {
|
||
|
for file in ${filelist[@]}; do
|
||
|
install-info $infodir/$file $infodir/dir 2> /dev/null
|
||
|
done
|
||
|
echo '==> To setup qingy, read /usr/share/doc/qingy/README'
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
for file in ${filelist[@]}; do
|
||
|
install-info $infodir/$file $infodir/dir 2> /dev/null
|
||
|
done
|
||
|
}
|
||
|
|
||
|
pre_remove() {
|
||
|
for file in ${filelist[@]}; do
|
||
|
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
|
||
|
done
|
||
|
}
|