Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 39 lines (33 sloc) 1.285 kb
122280a @racke wrong entry in debian/.cvsignore fixed, yes I need this .prerm
racke authored
1 #! /bin/sh -e
2 #
62dd067 @racke eliminated commands with absolute paths in maintainer scripts
racke authored
3 # Copyright 2001,2004,2005,2008,2009 by Stefan Hornburg (Racke) <racke@linuxia.de>
122280a @racke wrong entry in debian/.cvsignore fixed, yes I need this .prerm
racke authored
4 #
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public
16 # License along with this program; if not, write to the Free
07f71a7 @pajamian New Free Software Foundation Address in headers of various files
pajamian authored
17 # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
18 # MA 02110-1301 USA.
122280a @racke wrong entry in debian/.cvsignore fixed, yes I need this .prerm
racke authored
19
462ce63 @racke remove catalog from running server if necessary
racke authored
20 # Source debconf library
21 . /usr/share/debconf/confmodule
22
0a55170 @racke Added missing dbconfig-common hooks and set defaults for database nam…
racke authored
23 # Call dbconfig-common hook
24 . /usr/share/dbconfig-common/dpkg/prerm
25 dbc_go interchange-cat-standard $@
26
62dd067 @racke eliminated commands with absolute paths in maintainer scripts
racke authored
27 interchangeconfig USE_STANDARD=
122280a @racke wrong entry in debian/.cvsignore fixed, yes I need this .prerm
racke authored
28
059e10b @racke initial effort to replacing foundation with standard catalog in Debia…
racke authored
29 db_get interchange-cat-standard/install
462ce63 @racke remove catalog from running server if necessary
racke authored
30 if [ "$RET" = "true" ]; then
82268cf @racke avoid installation error by checking installation state before
racke authored
31 if [ ! -f /var/run/interchange-install ]; then
32 # remove catalog from running server
62dd067 @racke eliminated commands with absolute paths in maintainer scripts
racke authored
33 interchange --remove=standard || true
2a5b513 @racke configuration file might be missing on a erroneous install
racke authored
34 rm -f /var/lib/interchange/catalog.d/interchange-cat-standard.cfg
82268cf @racke avoid installation error by checking installation state before
racke authored
35 fi
462ce63 @racke remove catalog from running server if necessary
racke authored
36 fi
37
122280a @racke wrong entry in debian/.cvsignore fixed, yes I need this .prerm
racke authored
38 #DEBHELPER#
Something went wrong with that request. Please try again.