~ubuntu-branches/ubuntu/natty/auctex/natty

« back to all changes in this revision

Viewing changes to debian/preview-latex-style/postrm.in

  • Committer: Bazaar Package Importer
  • Author(s): Davide G. M. Salvetti
  • Date: 2007-03-14 00:43:56 UTC
  • mfrom: (2.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20070314004356-xtqoxu6ousd1ldn6
Tags: 11.83-6
* Rebuild with clean source.
* rules.in (build-package): Added dependency on the "clean" target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "variables"
 
2
#! /bin/bash -e
 
3
#
 
4
# <% postrm %> script for <:=${PLSPKG}:>
 
5
#
 
6
<:=@COPYRIGHT:>//
 
7
 
 
8
set -o posix
 
9
 
 
10
case "${1}" in
 
11
    (remove|upgrade|failed-upgrade)
 
12
    <:# rebuild the <% TeX ls-R %> database :>
 
13
    <:=${MKTEXLSR}:>
 
14
    ;;
 
15
    (abort-install|abort-upgrade)
 
16
    <:# rebuild the <% TeX ls-R %> database :>
 
17
    <:=${MKTEXLSR}:>
 
18
    ;;
 
19
    (disappear|purge)
 
20
    :
 
21
    ;;
 
22
    (*) echo >&2 "${0##*/}/<:=${PLSPKG}:>:" \
 
23
        "Unknown argument: \"${1}\"."
 
24
    exit 1
 
25
    ;;
 
26
esac
 
27
 
 
28
exit 0
 
29
<:
 
30
# arch-tag: 6148eca7-0e7f-4362-9ae9-dc2eaa90740a
 
31
#
 
32
# local variables:
 
33
# mode: shell-script
 
34
# coding: utf-8
 
35
# ispell-local-dictionary: "american"
 
36
# ispell-check-comments: exclusive
 
37
# end:
 
38
:>//