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 > / var / lib / dpkg / info / | server ip : 172.67.156.115 your ip : 172.69.214.216 H O M E |
Filename | /var/lib/dpkg/info/dbconfig-common.postrm |
Size | 666 |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 10:12 |
Last modified | 01-May-2012 03:18 |
Last accessed | 06-Jul-2025 22:37 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#!/bin/sh
set -e
if [ $1 = "purge" ]; then
rm -f /etc/dbconfig-common/config || true
if which ucf >/dev/null 2>&1; then
ucf -p /etc/dbconfig-common/config
ucfr -p dbconfig-common /etc/dbconfig-common/config
fi
# purge the various default logfile/logdir locations
rm -f /var/log/dbconfig-common/dbc.log
for d in /etc /var/log /var/lib; do
if [ -d "$d/dbconfig-common" ]; then
rmdir --ignore-fail-on-non-empty "$d/dbconfig-common"
fi
done
fi
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
set -e
if [ $1 = "purge" ]; then
rm -f /etc/dbconfig-common/config || true
if which ucf >/dev/null 2>&1; then
ucf -p /etc/dbconfig-common/config
ucfr -p dbconfig-common /etc/dbconfig-common/config
fi
# purge the various default logfile/logdir locations
rm -f /var/log/dbconfig-common/dbc.log
for d in /etc /var/log /var/lib; do
if [ -d "$d/dbconfig-common" ]; then
rmdir --ignore-fail-on-non-empty "$d/dbconfig-common"
fi
done
fi
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section