Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b3dc6befde
Fetching contributors…

Cannot retrieve contributors at this time

file 22 lines (18 sloc) 0.548 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/bash
set -e

if [ -f /usr/share/debconf/confmodule ]; then
        . /usr/share/debconf/confmodule
fi
if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
        . /usr/share/dbconfig-common/dpkg/postrm.mysql
        dbc_go databank $@
fi

if [ "$1" = "purge" ]; then
        rm -f /etc/default/databank/db.sh
        if which ucf >/dev/null 2>&1; then
                ucf --purge /etc/default/databank/db.sh
                ucfr --purge databank /etc/default/databank/db.sh
        fi
fi


# Remove my changes to the db.
db_purge
Something went wrong with that request. Please try again.