~ubuntu-branches/ubuntu/jaunty/semi/jaunty

« back to all changes in this revision

Viewing changes to debian/emacsen-remove

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2004-05-23 00:54:01 UTC
  • Revision ID: james.westby@ubuntu.com-20040523005401-5xqrjn6mbl1k8485
Tags: 1.14.6+0.20040418-1
* sponsored by OHASHI Akira <bg66@debian.org>
* New upstream release. (CVS snapshot on 2004-04-18 at 20:50 +0900)
  - mime-edit.el (mime-file-types): Add application/pdf. Use base64
    for application/postscript.
    (mime-content-types): Add application/pdf.
* debian/emacsen-install.in: Create *.el symlinks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
FLAVOR=$1
 
5
PACKAGE="semi"
 
6
 
 
7
if [ "X${FLAVOR}" = "X" ]; then
 
8
  echo Need argument to determin FLAVOR of emacsen
 
9
  exit 1
 
10
fi
 
11
if [ "X${PACKAGE}" = "X" ]; then
 
12
  echo Internal error: need package name
 
13
  exit 1
 
14
fi
 
15
if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi
 
16
 
 
17
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
 
18
 
 
19
echo -n "remove/${PACKAGE}: Handling removal of emacsen flavor ${FLAVOR} ..."
 
20
rm -rf ${ELCDIR}
 
21
echo " done."
 
22
 
 
23
exit 0