updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / global / global.install
blob4775b6340c49a6a5282cf01362f7ee3f3fa9111a
1 infodir=/usr/share/info
2 filelist=(global.info)
4 post_install() {
5     mkdir -p "$pkgdir/usr/share/emacs/site-lisp"
6     ln -s /usr/share/gtags/gtags.el "$pkgdir/usr/share/emacs/site-lisp/gtags.el"
8     [ -x usr/bin/install-info ] || return 0
9     for file in ${filelist[@]}; do
10         install-info $infodir/$file $infodir/dir 2> /dev/null
11     done
14 post_upgrade() {
15     post_install $1
18 pre_remove() {
19     [ -x usr/bin/install-info ] || return 0
20     for file in ${filelist[@]}; do
21         install-info --delete $infodir/$file $infodir/dir 2> /dev/null
22     done
25 # Local Variables:
26 # mode: sh
27 # End: