# -*- mode: sh -*- ### ### source common stuff ### dbc_go(){ . /usr/share/dbconfig-common/dpkg/common local cfg _dbc_debug "(postrm) dbc_go() $@" dbc_config "$@" || return $? if [ "$dbc_command" = "upgrade" ]; then ## With dbconfig-no-thanks installed we don't need to do anything. if dbc_no_thanks ; then return 0 fi dbc_read_package_config || return $? dbc_preseed_package_debconf || return $? elif [ "$dbc_command" = "purge" ]; then # remove the dbc configuration file rm -f /etc/dbconfig-common/$dbc_package.conf || true if which ucf >/dev/null 2>&1; then cfg="/etc/dbconfig-common/$dbc_package.conf" ucf -p "$cfg" || true ucfr -p "$dbc_package" "$cfg" fi # forget everything we ever knew related to debconf+dbc for t in $dbc_register_templates; do db_unregister $dbc_package/$t || true done fi }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
common | File | 38.37 KB | 0644 |
|
config | File | 22.05 KB | 0644 |
|
config.mysql | File | 68 B | 0644 |
|
config.pgsql | File | 69 B | 0644 |
|
config.sqlite | File | 70 B | 0644 |
|
config.sqlite3 | File | 71 B | 0644 |
|
frontend.config | File | 61 B | 0644 |
|
frontend.config.mysql | File | 67 B | 0644 |
|
frontend.config.pgsql | File | 67 B | 0644 |
|
frontend.postinst | File | 63 B | 0644 |
|
frontend.postinst.mysql | File | 69 B | 0644 |
|
frontend.postinst.pgsql | File | 69 B | 0644 |
|
frontend.postrm | File | 61 B | 0644 |
|
frontend.postrm.mysql | File | 67 B | 0644 |
|
frontend.postrm.pgsql | File | 67 B | 0644 |
|
frontend.preinst | File | 62 B | 0644 |
|
frontend.preinst.mysql | File | 68 B | 0644 |
|
frontend.preinst.pgsql | File | 68 B | 0644 |
|
frontend.prerm | File | 60 B | 0644 |
|
frontend.prerm.mysql | File | 66 B | 0644 |
|
frontend.prerm.pgsql | File | 66 B | 0644 |
|
postinst | File | 20.29 KB | 0644 |
|
postinst.mysql | File | 70 B | 0644 |
|
postinst.pgsql | File | 70 B | 0644 |
|
postinst.sqlite | File | 71 B | 0644 |
|
postinst.sqlite3 | File | 72 B | 0644 |
|
postrm | File | 986 B | 0644 |
|
postrm.mysql | File | 68 B | 0644 |
|
postrm.pgsql | File | 68 B | 0644 |
|
postrm.sqlite | File | 69 B | 0644 |
|
postrm.sqlite3 | File | 70 B | 0644 |
|
preinst | File | 431 B | 0644 |
|
preinst.mysql | File | 69 B | 0644 |
|
preinst.pgsql | File | 70 B | 0644 |
|
preinst.sqlite | File | 70 B | 0644 |
|
preinst.sqlite3 | File | 71 B | 0644 |
|
prerm | File | 5.69 KB | 0644 |
|
prerm.mysql | File | 67 B | 0644 |
|
prerm.pgsql | File | 67 B | 0644 |
|
prerm.sqlite | File | 68 B | 0644 |
|
prerm.sqlite3 | File | 69 B | 0644 |
|