updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnucash-hbci / gnucash.install
blob49326ff893cdd3bcd7b4d1c97a511e1c04aaedda
1 pkgname=gnucash
2 info_dir=/usr/share/info
3 info_files=(gnucash-design.info)
5 post_install() {
6   usr/sbin/gconfpkg --install ${pkgname}
7   [ -x usr/bin/install-info ] || return 0
8   for f in ${info_files[@]}; do
9     usr/bin/install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
10   done
13 pre_upgrade() {
14   pre_remove $1
17 post_upgrade() {
18   post_install $1
21 pre_remove() {
22   usr/sbin/gconfpkg --uninstall ${pkgname}
23   [ -x usr/bin/install-info ] || return 0
24   for f in ${info_files[@]}; do
25     usr/bin/install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
26   done