File: emacsen-remove

package info (click to toggle)
gramadoir 0.6-4
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 1,548 kB
  • ctags: 10
  • sloc: makefile: 61; sh: 43
file content (26 lines) | stat: -rw-r--r-- 565 bytes parent folder | download | duplicates (9)
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
#!/bin/sh
#
# emacsen remove script for the Debian GNU/Linux octave package
#
# Written by Dirk Eddelbuettel <edd@debian.org>   
#
# Modified by Alastair McKinstry <mckinstry@debian.org>
# for the gramadoir Debian package

set -e 

# Canadian spelling ;-)
flavour=$1

package=gramadoir
destination=/usr/share/${flavour}/site-lisp/${package}

if [ ${flavour} != emacs ]
then
    echo remove/${package}: Purging byte-compiled files for flavour ${flavour}
    rm -f ${destination}/*.elc
else
    echo remove/${package}: Ignoring emacsen flavour ${flavour}
fi

exit 0;