3 #This program is free software; you can redistribute it and/or modify
4 #it under the terms of the GNU General Public License as published by
5 #the Free Software Foundation; either version 2 of the License, or
6 #(at your option) any later version.
9 # authors: Amalu Obinna <amaluobinna@aol.com>
10 # Brady Miller <brady@sparmy.com>
12 # Un-install script steps:
13 # 1) Remove OpenEMR log directory
15 # summary of how this script can be called:
18 # * <old-postrm> `upgrade' <new-version>
19 # * <new-postrm> `failed-upgrade' <old-version>
20 # * <new-postrm> `abort-install'
21 # * <new-postrm> `abort-install' <old-version>
22 # * <new-postrm> `abort-upgrade' <old-version>
23 # * <disappearer's-postrm> `disappear' <overwriter>
24 # <overwriter-version>
25 # for details, see http://www.debian.org/doc/debian-policy/ or
26 # the debian-policy package
29 # Source debconf library.
30 .
/usr
/share
/debconf
/confmodule
34 LOGDIR
=/var
/log
/openemr
40 # Remove db prompt stuff.
46 echo "postrm asked to do purge"
51 #echo "No need for upgrade instructions in postrm script to version $2"
56 echo "postrm asked to do failed-upgrade from version $2"
61 echo "postrm asked to do abort-install"
66 echo "postrm asked to do abort-upgrade from version $2"
72 echo "postrm asked to do disappear"
77 echo "postrm called with unknown argument \`$1'" >&2