updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emacs-dvc-bzr / dvc.install
blobe6760fd21312b4833dc2f76fd481024cff9a19eb
1 infodir=/usr/share/info
2 filelist=(dvc.info)
4 post_install() {
5   for file in ${filelist[@]}; do
6     install-info $infodir/$file $infodir/dir 2> /dev/null
7   done
8   echo "Add"
9   echo "(add-to-list 'load-path \"/usr/share/emacs/site-lisp/dvc\")"
10   echo "to your .emacs"
13 post_upgrade() {
14   post_install $1
17 pre_remove() {
18   for file in ${filelist[@]}; do
19     install-info --delete $infodir/$file $infodir/dir 2> /dev/null
20   done
23 # vim:set ts=2 sw=2 et: