Mercurial > libpst
annotate debian/emacsen-remove.ex @ 135:d314358f201d
Added tag stable-0-6-26 for changeset 2d6bb72ad041
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 07 Feb 2009 08:25:11 -0800 |
parents | 535075b4d261 |
children |
rev | line source |
---|---|
78
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
1 #!/bin/sh -e |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
2 # /usr/lib/emacsen-common/packages/remove/libpst |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
3 |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
4 FLAVOR=$1 |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
5 PACKAGE=libpst |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
6 |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
7 if [ ${FLAVOR} != emacs ]; then |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
8 if test -x /usr/sbin/install-info-altdir; then |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
9 echo remove/${PACKAGE}: removing Info links for ${FLAVOR} |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
10 install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/libpst.info.gz |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
11 fi |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
12 |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
13 echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
14 rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} |
535075b4d261
Patch from Joachim Metz for debian packaging, and fix for incorrect length on lz decompression.
Carl Byington <carl@five-ten-sg.com>
parents:
diff
changeset
|
15 fi |