/[debconf]/debconf-trunk/debian/postrm
ViewVC logotype

Contents of /debconf-trunk/debian/postrm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 228 - (show annotations) (download)
Fri Nov 5 20:10:06 1999 UTC (13 years, 7 months ago) by joey
File size: 355 byte(s)
   * Made frontend fallback message less scary.
   * Split the template data out of the main debconf database and into
     templates.db. This reduces the chances of it getting corrupted.
1 #!/bin/sh -e
2 if [ "$1" = "purge" ]; then
3 rm -f /var/lib/debconf/debconf.db /var/lib/debconf/templates.db
4 fi
5 if [ -e /etc/apt/apt.conf ]; then
6 cp /etc/apt/apt.conf /etc/apt/apt.conf.old
7 (grep -iv "// Pre-configure all packages" /etc/apt/apt.conf.old | \
8 grep -iv dpkg-preconfig > /etc/apt/apt.conf) || true
9 rm -f /etc/apt/apt.conf.old
10 fi
11 #DEBHELPER#

  ViewVC Help
Powered by ViewVC 1.1.5