~ubuntu-branches/ubuntu/precise/apt/precise-updates

« back to all changes in this revision

Viewing changes to debian/preinst

  • Committer: Package Import Robot
  • Author(s): Steve Langasek
  • Date: 2012-04-05 18:00:23 UTC
  • Revision ID: package-import@ubuntu.com-20120405180023-6ympltxazik8blxg
Tags: 0.8.16~exp12ubuntu7
* clean up obsolete conffile /etc/apt/apt.conf.d/01ubuntu, which was
  dropped in maverick.
* Build-depend on gettext:any for cross-building support.
* Don't treat build-depends-indep as cross-build-dependencies; we should
  always install the host arch versions.  LP: #968828.
* Makefile, po/makefile:  make sure our pot generation datestamp doesn't
  change at build time, since this makes translations fail to be
  co-installable with multiarch.  Based on a patch by David Kalnischkies.
  Closes: #659333, LP: #924628.
* For cross-build-dependencies, Architecture: all packages should be
  treated as implicitly Multi-Arch: foreign, because either they *are*
  M-A: foreign when used as a build-dependency, or they need to be updated
  to not be Architecture: all; and since cross-build-deps are new
  functionality in apt, we can safely make this change without breaking
  existing systems.  Closes: #666772.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#  rm /var/state/apt
8
8
#fi
9
9
 
 
10
dpkg-maintscript-helper rm_conffile /etc/apt/apt.conf.d/01ubuntu \
 
11
        0.8.16~exp12ubuntu6 -- "$@"
 
12
 
10
13
if [ "$1" = "upgrade" -o "$1" = "install" -a "$2" != "" ]; then
11
14
  if [ ! -e /var/lib/apt -a -e /var/state/apt ]; then
12
15
    # upgrading from /var/state/apt using apt.