Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / dbconfig-common / dpkg / | server ip : 104.21.89.46 your ip : 172.69.130.154 H O M E |
Filename | /usr/share/dbconfig-common/dpkg/postrm |
Size | 675 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 10:12 |
Last modified | 01-May-2012 03:18 |
Last accessed | 06-Jul-2025 20:25 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
###
### source common stuff
###
dbc_go(){
. /usr/share/dbconfig-common/dpkg/common
local cfg
_dbc_debug "(postrm) dbc_go() $@"
dbc_config $@
if [ "$dbc_command" = "upgrade" ]; then
dbc_read_package_config
dbc_preseed_package_debconf
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 new related to debconf+dbc
for t in $dbc_register_templates; do
db_unregister $dbc_package/$t || true
done
fi
}
### source common stuff
###
dbc_go(){
. /usr/share/dbconfig-common/dpkg/common
local cfg
_dbc_debug "(postrm) dbc_go() $@"
dbc_config $@
if [ "$dbc_command" = "upgrade" ]; then
dbc_read_package_config
dbc_preseed_package_debconf
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 new related to debconf+dbc
for t in $dbc_register_templates; do
db_unregister $dbc_package/$t || true
done
fi
}