blob: cee8a6b63c431a0e211e2a8f67de1e5049668ebc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
infodir=/usr/share/info
filelist=(jabber.info.gz)
pkgname=emacs-jabber
pre_upgrade() {
/usr/bin/gconfpkg --uninstall $pkgname
}
post_install() {
/usr/bin/gconfpkg --install $pkgname
for file in ${filelist[@]}; do
install-info $infodir/$file $infodir/dir 2> /dev/null
done
echo "Please add the following line to your .emacs."
echo "(require 'jabber)"
}
post_upgrade() {
post_install
}
pre_remove() {
/usr/bin/gconfpkg --uninstall $pkgname
for file in ${filelist[@]}; do
install-info --delete $infodir/$file $infodir/dir 2> /dev/null
done
}
|