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.
8 # authors: Brady Miller <brady@sparmy.com>
9 # Amalu Obinna <amaluobinna@aol.com>
13 # Un-install script steps:
14 # 1) Remove OpenEMR log directory
16 # summary of how this script can be called:
19 # * <old-postrm> `upgrade' <new-version>
20 # * <new-postrm> `failed-upgrade' <old-version>
21 # * <new-postrm> `abort-install'
22 # * <new-postrm> `abort-install' <old-version>
23 # * <new-postrm> `abort-upgrade' <old-version>
24 # * <disappearer's-postrm> `disappear' <overwriter>
25 # <overwriter-version>
26 # for details, see http://www.debian.org/doc/debian-policy/ or
27 # the debian-policy package
32 LOGDIR
=/var
/log
/cvs-openemr
38 echo "Removed OpenEMR package log directory"
41 echo "Done removing the cvs-openemr package"
48 echo "postrm asked to do purge"
53 #echo "No need for upgrade instructions in postrm script to version $2"
58 echo "postrm asked to do failed-upgrade from version $2"
63 echo "postrm asked to do abort-install"
68 echo "postrm asked to do abort-upgrade from version $2"
74 echo "postrm asked to do disappear"
79 echo "postrm called with unknown argument \`$1'" >&2